ILIAS
Release_4_4_x_branch Revision 61816
|
Class ilParameterAppender. More...
Public Member Functions | |
ilParameterAppender ($webr_id) | |
Constructor public. | |
getErrorCode () | |
setObjId ($a_obj_id) | |
getObjId () | |
setName ($a_name) | |
getName () | |
setValue ($a_value) | |
getValue () | |
validate () | |
add ($a_link_id) | |
delete ($a_param_id) | |
_deleteAll ($a_webr_id) |
Static Public Member Functions | |
static | getParameterIds ($a_webr_id, $a_link_id) |
Get Parameter ids of link. | |
static | _isEnabled () |
Check if dynamic parameters are enabled. | |
static | _append ($a_link_data) |
static | _getParams ($a_link_id) |
Get dynamic parameter definitions. | |
static | parameterToInfo ($a_name, $a_value) |
Get info text describing an existing dynamic link. | |
static | _getOptionSelect () |
Get options as array. |
Data Fields | |
$webr_id = null | |
$db = null | |
$err = null |
Class ilParameterAppender.
Definition at line 42 of file class.ilParameterAppender.php.
|
static |
Definition at line 186 of file class.ilParameterAppender.php.
References $ilUser, _getParams(), LINKS_LOGIN, LINKS_MATRICULATION, LINKS_SESSION_ID, and LINKS_USER_ID.
Referenced by ilObjLinkResourceListGUI\__readLink(), ilObjLinkResourceGUI\callDirectLink(), ilObjLinkResourceGUI\callLink(), and ilObjLinkResourceSubItemListGUI\getHTML().
ilParameterAppender::_deleteAll | ( | $a_webr_id | ) |
|
static |
Get options as array.
Definition at line 293 of file class.ilParameterAppender.php.
References $lng, 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 $res, $row, and DB_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 $query, $res, getName(), getObjId(), and getValue().
ilParameterAppender::delete | ( | $a_param_id | ) |
Definition at line 164 of file class.ilParameterAppender.php.
References $query, $res, and getObjId().
Referenced by ilObjLinkResourceGUI\deleteParameter(), and ilObjLinkResourceGUI\deleteParameterForm().
ilParameterAppender::getErrorCode | ( | ) |
Definition at line 83 of file class.ilParameterAppender.php.
References $err.
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 $query, $res, $row, and DB_FETCHMODE_ASSOC.
Referenced by ilWebLinkXmlParser\handlerBeginTag().
ilParameterAppender::getValue | ( | ) |
Definition at line 111 of file class.ilParameterAppender.php.
Referenced by add(), and validate().
ilParameterAppender::ilParameterAppender | ( | $webr_id | ) |
Constructor public.
Definition at line 54 of file class.ilParameterAppender.php.
References $webr_id.
|
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 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 getObjId(), and ilParameterAppender().