ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilOrguUserPickerToolbarInputGUI Class Reference

Class ilOrguUserPickerToolbarInputGUI. More...

+ Inheritance diagram for ilOrguUserPickerToolbarInputGUI:
+ Collaboration diagram for ilOrguUserPickerToolbarInputGUI:

Public Member Functions

 getToolbarHTML ()
 
 setValueByArray ($array)
 
 getStaff ()
 

Protected Member Functions

 getSelectHTML ()
 

Protected Attributes

 $staff
 

Detailed Description

Member Function Documentation

◆ getSelectHTML()

ilOrguUserPickerToolbarInputGUI::getSelectHTML ( )
protected

Definition at line 25 of file class.ilOrguUserPickerToolbarInputGUI.php.

References $DIC, $html, and $lng.

Referenced by getToolbarHTML().

25  {
26  global $DIC;
27  $lng = $DIC['lng'];
28  $html = "
29  <select name='".$this->searchPostVar()."_role"."'>
30  <option value='employee'>".$lng->txt("employee")."</option>
31  <option value='superior'>".$lng->txt("superior")."</option>
32  </select>
33  ";
34  return $html;
35  }
global $lng
Definition: privfeed.php:17
global $DIC
$html
Definition: example_001.php:87
+ Here is the caller graph for this function:

◆ getStaff()

ilOrguUserPickerToolbarInputGUI::getStaff ( )

◆ getToolbarHTML()

ilOrguUserPickerToolbarInputGUI::getToolbarHTML ( )

Definition at line 15 of file class.ilOrguUserPickerToolbarInputGUI.php.

References $html, and getSelectHTML().

16  {
17  $html = "<form method='post' class='ilOrguUserPicker' action='".$this->getSubmitLink()."'>";
18  $html .= $this->render();
19  $html .= $this->getSelectHTML();
20  $html .= $this->getSubmitButtonHTML();
21  $html .= "</form>";
22  return $html;
23  }
$html
Definition: example_001.php:87
+ Here is the call graph for this function:

◆ setValueByArray()

ilOrguUserPickerToolbarInputGUI::setValueByArray (   $array)

Definition at line 37 of file class.ilOrguUserPickerToolbarInputGUI.php.

37  {
38  parent::setValueByArray($array);
39  $this->staff = $array[$this->searchPostVar()."_role"];
40  }

Field Documentation

◆ $staff

ilOrguUserPickerToolbarInputGUI::$staff
protected

Definition at line 13 of file class.ilOrguUserPickerToolbarInputGUI.php.

Referenced by getStaff().


The documentation for this class was generated from the following file: