ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
All Data Structures Namespaces Files Functions Variables Modules Pages
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 $lng.

Referenced by getToolbarHTML().

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  }
global $lng
Definition: privfeed.php:40
+ Here is the caller graph for this function:

◆ getStaff()

ilOrguUserPickerToolbarInputGUI::getStaff ( )

◆ getToolbarHTML()

ilOrguUserPickerToolbarInputGUI::getToolbarHTML ( )

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

References 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  }
+ 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: