ILIAS
Release_4_1_x_branch Revision 61804
|
This class represents a repository selector in a property form. More...
Public Member Functions | |
__construct ($a_title="", $a_postvar="") | |
Constructor. | |
setValue ($a_value) | |
Set Value. | |
getValue () | |
Get Value. | |
setValueByArray ($a_values) | |
Set value by array. | |
setSelectText ($a_val) | |
Set select link text. | |
getSelectText () | |
Get select link text. | |
setHeaderMessage ($a_val) | |
Set header message. | |
getHeaderMessage () | |
Get header message. | |
setClickableTypes ($a_types) | |
Set clickable types. | |
getClickableTypes () | |
Get clickable types. | |
checkInput () | |
Check input, strip slashes etc. | |
showRepositorySelection () | |
Select Repository Item. | |
selectRepositoryItem () | |
Select repository item. | |
reset () | |
Reset. | |
render ($a_mode="property_form") | |
Render item. | |
insert (&$a_tpl) | |
Insert property html. | |
getTableFilterHTML () | |
Get HTML for table filter. | |
Public Member Functions inherited from ilFormPropertyGUI | |
& | executeCommand () |
Execute command. | |
getType () | |
Get Type. | |
setTitle ($a_title) | |
Set Title. | |
getTitle () | |
Get Title. | |
setPostVar ($a_postvar) | |
Set Post Variable. | |
getPostVar () | |
Get Post Variable. | |
getFieldId () | |
Get Post Variable. | |
setInfo ($a_info) | |
Set Information Text. | |
getInfo () | |
Get Information Text. | |
setAlert ($a_alert) | |
Set Alert Text. | |
getAlert () | |
Get Alert Text. | |
setRequired ($a_required) | |
Set Required. | |
getRequired () | |
Get Required. | |
setDisabled ($a_disabled) | |
Set Disabled. | |
getDisabled () | |
Get Disabled. | |
setParentForm ($a_parentform) | |
Set Parent Form. | |
getParentForm () | |
Get Parent Form. | |
setParent ($a_val) | |
Set Parent GUI object. | |
getParent () | |
Get Parent GUI object. | |
getSubForm () | |
Get sub form html. | |
hideSubForm () | |
Sub form hidden on init? | |
setHiddenTitle ($a_val) | |
Set hidden title (for screenreaders) | |
getHiddenTitle () | |
Get hidden title. | |
getItemByPostVar ($a_post_var) | |
Get item by post var. | |
serializeData () | |
serialize data | |
unserializeData ($a_data) | |
unserialize data | |
writeToSession () | |
Write to session. | |
clearFromSession () | |
Clear session value. | |
readFromSession () | |
Read from session. | |
getHiddenTag ($a_post_var, $a_value) | |
Get hidden tag (used for disabled properties) |
Protected Attributes | |
$options | |
$value | |
Protected Attributes inherited from ilFormPropertyGUI | |
$type | |
$title | |
$postvar | |
$info | |
$alert | |
$required = false | |
$parentgui | |
$parentform | |
$hidden_title = "" |
Additional Inherited Members | |
Protected Member Functions inherited from ilFormPropertyGUI | |
setType ($a_type) | |
Set Type. |
This class represents a repository selector in a property form.
The implementation is kind of beta. It looses all other inputs, if the selector link is used.
ilRepositorySelectorInputGUI: ilFormPropertyDispatchGUI
Definition at line 38 of file class.ilRepositorySelectorInputGUI.php.
ilRepositorySelectorInputGUI::__construct | ( | $a_title = "" , |
|
$a_postvar = "" |
|||
) |
Constructor.
string | $a_title | Title |
string | $a_postvar | Post Variable |
Reimplemented from ilFormPropertyGUI.
Definition at line 49 of file class.ilRepositorySelectorInputGUI.php.
References $lng, setClickableTypes(), setHeaderMessage(), setSelectText(), and ilFormPropertyGUI\setType().
ilRepositorySelectorInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFormPropertyGUI.
Definition at line 155 of file class.ilRepositorySelectorInputGUI.php.
References $_POST, $lng, ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFormPropertyGUI\setAlert(), and ilUtil\stripSlashes().
ilRepositorySelectorInputGUI::getClickableTypes | ( | ) |
Get clickable types.
Definition at line 145 of file class.ilRepositorySelectorInputGUI.php.
Referenced by render(), and showRepositorySelection().
ilRepositorySelectorInputGUI::getHeaderMessage | ( | ) |
Get header message.
Definition at line 125 of file class.ilRepositorySelectorInputGUI.php.
Referenced by showRepositorySelection().
ilRepositorySelectorInputGUI::getSelectText | ( | ) |
Get select link text.
Definition at line 105 of file class.ilRepositorySelectorInputGUI.php.
Referenced by render().
ilRepositorySelectorInputGUI::getTableFilterHTML | ( | ) |
Get HTML for table filter.
Implements ilTableFilterItem.
Definition at line 299 of file class.ilRepositorySelectorInputGUI.php.
References render().
ilRepositorySelectorInputGUI::getValue | ( | ) |
Get Value.
Definition at line 75 of file class.ilRepositorySelectorInputGUI.php.
References $value.
Referenced by render().
ilRepositorySelectorInputGUI::insert | ( | & | $a_tpl | ) |
Insert property html.
Definition at line 289 of file class.ilRepositorySelectorInputGUI.php.
References render().
ilRepositorySelectorInputGUI::render | ( | $a_mode = "property_form" | ) |
Render item.
Definition at line 232 of file class.ilRepositorySelectorInputGUI.php.
References $ilCtrl, $lng, ilFormPropertyGUI\$title, $tpl, getClickableTypes(), ilFormPropertyGUI\getFieldId(), ilFormPropertyGUI\getParent(), ilFormPropertyGUI\getPostVar(), getSelectText(), getValue(), and ilUtil\prepareFormOutput().
Referenced by getTableFilterHTML(), and insert().
ilRepositorySelectorInputGUI::reset | ( | ) |
Reset.
Definition at line 215 of file class.ilRepositorySelectorInputGUI.php.
References $ilCtrl, ilFormPropertyGUI\getFieldId(), setValue(), and ilFormPropertyGUI\writeToSession().
ilRepositorySelectorInputGUI::selectRepositoryItem | ( | ) |
Select repository item.
Definition at line 198 of file class.ilRepositorySelectorInputGUI.php.
References $_GET, $ilCtrl, ilFormPropertyGUI\getFieldId(), setValue(), and ilFormPropertyGUI\writeToSession().
ilRepositorySelectorInputGUI::setClickableTypes | ( | $a_types | ) |
Set clickable types.
array | clickable types |
Definition at line 135 of file class.ilRepositorySelectorInputGUI.php.
Referenced by __construct().
ilRepositorySelectorInputGUI::setHeaderMessage | ( | $a_val | ) |
Set header message.
string | header message |
Definition at line 115 of file class.ilRepositorySelectorInputGUI.php.
Referenced by __construct().
ilRepositorySelectorInputGUI::setSelectText | ( | $a_val | ) |
Set select link text.
string | select link text |
Definition at line 95 of file class.ilRepositorySelectorInputGUI.php.
Referenced by __construct(), ilLPTableBaseGUI\initFilter(), ilUserTableGUI\initFilter(), and ilSearchGUI\initStandardSearchForm().
ilRepositorySelectorInputGUI::setValue | ( | $a_value | ) |
Set Value.
int | ref id of selected repository item |
Definition at line 65 of file class.ilRepositorySelectorInputGUI.php.
Referenced by reset(), selectRepositoryItem(), and setValueByArray().
ilRepositorySelectorInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
array | $a_values | value array |
Definition at line 85 of file class.ilRepositorySelectorInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and setValue().
ilRepositorySelectorInputGUI::showRepositorySelection | ( | ) |
Select Repository Item.
Definition at line 174 of file class.ilRepositorySelectorInputGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, getClickableTypes(), getHeaderMessage(), ilFormPropertyGUI\getPostVar(), ilUtil\sendInfo(), and ilExplorer\setExpand().
|
protected |
Definition at line 40 of file class.ilRepositorySelectorInputGUI.php.
|
protected |
Definition at line 41 of file class.ilRepositorySelectorInputGUI.php.
Referenced by getValue().