ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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.

25 {
26 global $lng;
27 $html = "
28 <select name='".$this->searchPostVar()."_role"."'>
29 <option value='employee'>".$lng->txt("employee")."</option>
30 <option value='superior'>".$lng->txt("superior")."</option>
31 </select>
32 ";
33 return $html;
34 }
$html
Definition: example_001.php:87
global $lng
Definition: privfeed.php:40

References $html, and $lng.

Referenced by getToolbarHTML().

+ Here is the caller graph for this function:

◆ getStaff()

ilOrguUserPickerToolbarInputGUI::getStaff ( )

◆ getToolbarHTML()

ilOrguUserPickerToolbarInputGUI::getToolbarHTML ( )

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

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 }

References $html, and getSelectHTML().

+ Here is the call graph for this function:

◆ setValueByArray()

ilOrguUserPickerToolbarInputGUI::setValueByArray (   $array)

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

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

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: