ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilParameterAppender. More...
Public Member Functions | |
__construct ($webr_id) | |
Constructor public. More... | |
getErrorCode () | |
setObjId ($a_obj_id) | |
getObjId () | |
setName ($a_name) | |
getName () | |
setValue ($a_value) | |
getValue () | |
validate () | |
add ($a_link_id) | |
delete ($a_param_id) | |
Static Public Member Functions | |
static | getParameterIds ($a_webr_id, $a_link_id) |
Get Parameter ids of link. More... | |
static | _isEnabled () |
Check if dynamic parameters are enabled. More... | |
static | _append ($a_link_data) |
static | _getParams ($a_link_id) |
Get dynamic parameter definitions. More... | |
static | parameterToInfo ($a_name, $a_value) |
Get info text describing an existing dynamic link. More... | |
static | _deleteAll ($a_webr_id) |
static | _getOptionSelect () |
Get options as array. More... | |
Data Fields | |
$webr_id = null | |
$db = null | |
$err = null | |
ilParameterAppender::__construct | ( | $webr_id | ) |
Constructor public.
Definition at line 54 of file class.ilParameterAppender.php.
References $ilDB, and $webr_id.
|
static |
Definition at line 186 of file class.ilParameterAppender.php.
References $ilUser, $params, _getParams(), LINKS_LOGIN, LINKS_MATRICULATION, LINKS_SESSION_ID, and LINKS_USER_ID.
Referenced by ilObjLinkResourceListGUI\__readLink(), ilObjLinkResourceGUI\callDirectLink(), ilObjLinkResourceGUI\callLink(), and ilObjLinkResourceSubItemListGUI\getHTML().
|
static |
|
static |
Get options as array.
Definition at line 293 of file class.ilParameterAppender.php.
References $lng, array, LINKS_LOGIN, LINKS_MATRICULATION, LINKS_SESSION_ID, and LINKS_USER_ID.
Referenced by ilWebResourceEditableLinkTableGUI\fillRow(), and ilObjLinkResourceGUI\initFormLink().
|
static |
Get dynamic parameter definitions.
int | $a_link_id |
Definition at line 236 of file class.ilParameterAppender.php.
References $ilDB, $params, $res, $row, array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by _append(), ilLinkResourceItems\cloneItems(), ilObjLinkResourceGUI\initFormLink(), ilWebResourceEditableLinkTableGUI\parse(), ilwebresourceTest\testWebResourceParameters(), and ilLinkResourceItems\toXML().
|
static |
Check if dynamic parameters are enabled.
Definition at line 179 of file class.ilParameterAppender.php.
References $ilSetting.
Referenced by ilObjLinkResourceListGUI\__readLink(), ilObjLinkResourceGUI\callDirectLink(), ilObjLinkResourceGUI\callLink(), ilObjLinkResourceGUI\checkLinkInput(), ilWebResourceEditableLinkTableGUI\fillRow(), ilObjLinkResourceGUI\initFormLink(), ilObjLinkResourceGUI\saveAddLink(), ilObjLinkResourceGUI\setValuesFromLink(), and ilObjLinkResourceGUI\updateLink().
ilParameterAppender::add | ( | $a_link_id | ) |
Definition at line 137 of file class.ilParameterAppender.php.
References $ilDB, $query, $res, getName(), getObjId(), and getValue().
ilParameterAppender::delete | ( | $a_param_id | ) |
Definition at line 164 of file class.ilParameterAppender.php.
References $ilDB, $query, $res, and getObjId().
Referenced by ilObjLinkResourceGUI\deleteParameter(), and ilObjLinkResourceGUI\deleteParameterForm().
ilParameterAppender::getErrorCode | ( | ) |
ilParameterAppender::getName | ( | ) |
Definition at line 103 of file class.ilParameterAppender.php.
Referenced by add(), and validate().
ilParameterAppender::getObjId | ( | ) |
Definition at line 94 of file class.ilParameterAppender.php.
References $webr_id.
Referenced by add(), and delete().
|
static |
Get Parameter ids of link.
int | $a_webr_id | |
int | $a_link_id |
Definition at line 68 of file class.ilParameterAppender.php.
References $ilDB, $params, $query, $res, $row, array, and ilDBConstants\FETCHMODE_ASSOC.
Referenced by ilWebLinkXmlParser\handlerBeginTag().
ilParameterAppender::getValue | ( | ) |
Definition at line 111 of file class.ilParameterAppender.php.
Referenced by add(), and validate().
|
static |
Get info text describing an existing dynamic link.
string | $a_name | |
int | $a_value |
Definition at line 257 of file class.ilParameterAppender.php.
References $info, LINKS_LOGIN, LINKS_MATRICULATION, LINKS_SESSION_ID, and LINKS_USER_ID.
Referenced by ilWebResourceEditableLinkTableGUI\fillRow(), and ilObjLinkResourceGUI\initFormLink().
ilParameterAppender::setName | ( | $a_name | ) |
Definition at line 99 of file class.ilParameterAppender.php.
Referenced by ilObjLinkResourceGUI\updateLinks().
ilParameterAppender::setObjId | ( | $a_obj_id | ) |
Definition at line 89 of file class.ilParameterAppender.php.
ilParameterAppender::setValue | ( | $a_value | ) |
Definition at line 107 of file class.ilParameterAppender.php.
ilParameterAppender::validate | ( | ) |
Definition at line 116 of file class.ilParameterAppender.php.
References getName(), getValue(), LINKS_ERR_NO_NAME, LINKS_ERR_NO_NAME_VALUE, and LINKS_ERR_NO_VALUE.
ilParameterAppender::$db = null |
Definition at line 45 of file class.ilParameterAppender.php.
ilParameterAppender::$err = null |
Definition at line 47 of file class.ilParameterAppender.php.
Referenced by getErrorCode().
ilParameterAppender::$webr_id = null |
Definition at line 44 of file class.ilParameterAppender.php.
Referenced by __construct(), and getObjId().