ILIAS  Release_4_4_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups 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

ilOrguUserPickerToolbarInputGUI::getSelectHTML ( )
protected

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

References $lng.

Referenced by getToolbarHTML().

{
global $lng;
$html = "
<select name='".$this->searchPostVar()."_role"."'>
<option value='employee'>".$lng->txt("employee")."</option>
<option value='superior'>".$lng->txt("superior")."</option>
</select>
";
return $html;
}

+ Here is the caller graph for this function:

ilOrguUserPickerToolbarInputGUI::getStaff ( )

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

References $staff.

{
return $this->staff;
}
ilOrguUserPickerToolbarInputGUI::getToolbarHTML ( )

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

References getSelectHTML().

{
$html = "<form method='post' class='ilOrguUserPicker' action='".$this->getSubmitLink()."'>";
$html .= $this->render();
$html .= $this->getSelectHTML();
$html .= $this->getSubmitButtonHTML();
$html .= "</form>";
return $html;
}

+ Here is the call graph for this function:

ilOrguUserPickerToolbarInputGUI::setValueByArray (   $array)

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

{
$this->staff = $array[$this->searchPostVar()."_role"];
}

Field Documentation

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: