ILIAS
Release_4_0_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 | _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 41 of file class.ilParameterAppender.php.
|
static |
Definition at line 164 of file class.ilParameterAppender.php.
References $params, _getParams(), LINKS_LOGIN, LINKS_SESSION_ID, and LINKS_USER_ID.
Referenced by ilObjLinkResourceListGUI\__readLink(), ilObjLinkResourceSubItemListGUI\getHTML(), and ilWebResourceLinkTableGUI\parse().
ilParameterAppender::_deleteAll | ( | $a_webr_id | ) |
|
static |
Get options as array.
Definition at line 264 of file class.ilParameterAppender.php.
References $lng, LINKS_LOGIN, 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 210 of file class.ilParameterAppender.php.
References $ilDB, $params, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by _append(), ilLinkResourceItems\cloneItems(), ilObjLinkResourceGUI\initFormLink(), ilWebResourceEditableLinkTableGUI\parse(), and ilwebresourceTest\testWebResourceParameters().
|
static |
Check if dynamic parameters are enabled.
Definition at line 157 of file class.ilParameterAppender.php.
References $ilSetting.
Referenced by ilObjLinkResourceListGUI\__readLink(), ilObjLinkResourceGUI\checkLinkInput(), ilWebResourceEditableLinkTableGUI\fillRow(), ilObjLinkResourceGUI\initFormLink(), ilWebResourceLinkTableGUI\parse(), ilObjLinkResourceGUI\saveAddLinkObject(), ilObjLinkResourceGUI\saveObject(), ilObjLinkResourceGUI\setValuesFromLink(), and ilObjLinkResourceGUI\updateLinkObject().
ilParameterAppender::add | ( | $a_link_id | ) |
Definition at line 115 of file class.ilParameterAppender.php.
References $ilDB, $query, $res, getName(), getObjId(), and getValue().
ilParameterAppender::delete | ( | $a_param_id | ) |
Definition at line 142 of file class.ilParameterAppender.php.
References $ilDB, $query, $res, and getObjId().
ilParameterAppender::getErrorCode | ( | ) |
Definition at line 61 of file class.ilParameterAppender.php.
References $err.
ilParameterAppender::getName | ( | ) |
Definition at line 81 of file class.ilParameterAppender.php.
References $name.
Referenced by add(), and validate().
ilParameterAppender::getObjId | ( | ) |
Definition at line 72 of file class.ilParameterAppender.php.
References $webr_id.
Referenced by add(), and delete().
ilParameterAppender::getValue | ( | ) |
Definition at line 89 of file class.ilParameterAppender.php.
Referenced by add(), and validate().
ilParameterAppender::ilParameterAppender | ( | $webr_id | ) |
|
static |
Get info text describing an existing dynamic link.
string | $a_name | |
int | $a_value |
Definition at line 231 of file class.ilParameterAppender.php.
References LINKS_LOGIN, LINKS_SESSION_ID, and LINKS_USER_ID.
Referenced by ilWebResourceEditableLinkTableGUI\fillRow(), and ilObjLinkResourceGUI\initFormLink().
ilParameterAppender::setName | ( | $a_name | ) |
Definition at line 77 of file class.ilParameterAppender.php.
ilParameterAppender::setObjId | ( | $a_obj_id | ) |
Definition at line 67 of file class.ilParameterAppender.php.
ilParameterAppender::setValue | ( | $a_value | ) |
Definition at line 85 of file class.ilParameterAppender.php.
ilParameterAppender::validate | ( | ) |
Definition at line 94 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 44 of file class.ilParameterAppender.php.
ilParameterAppender::$err = null |
Definition at line 46 of file class.ilParameterAppender.php.
Referenced by getErrorCode().
ilParameterAppender::$webr_id = null |
Definition at line 43 of file class.ilParameterAppender.php.
Referenced by getObjId(), and ilParameterAppender().