ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 24 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 $DIC
Definition: saml.php:7
global $lng
Definition: privfeed.php:17
$html
Definition: example_001.php:87
+ Here is the caller graph for this function:

◆ getStaff()

ilOrguUserPickerToolbarInputGUI::getStaff ( )

◆ getToolbarHTML()

ilOrguUserPickerToolbarInputGUI::getToolbarHTML ( )

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

References $html, and getSelectHTML().

15  {
16  $html = "<form method='post' class='ilOrguUserPicker' action='" . $this->getSubmitLink() . "'>";
17  $html .= $this->render();
18  $html .= $this->getSelectHTML();
19  $html .= $this->getSubmitButtonHTML();
20  $html .= "</form>";
21  return $html;
22  }
$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.

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

Field Documentation

◆ $staff

ilOrguUserPickerToolbarInputGUI::$staff
protected

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

Referenced by getStaff().


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