ILIAS
eassessment Revision 61809
|
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 _getParams(), LINKS_LOGIN, LINKS_MATRICULATION, 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 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 $ilDB, $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\checkLinkInput(), ilWebResourceEditableLinkTableGUI\fillRow(), ilObjLinkResourceGUI\initFormLink(), ilWebResourceLinkTableGUI\parse(), ilObjLinkResourceGUI\saveAddLinkObject(), ilObjLinkResourceGUI\saveObject(), ilObjLinkResourceGUI\setValuesFromLink(), and ilObjLinkResourceGUI\updateLinkObject().
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\deleteParameterFormObject(), and ilObjLinkResourceGUI\deleteParameterObject().
ilParameterAppender::getErrorCode | ( | ) |
Definition at line 83 of file class.ilParameterAppender.php.
References $err.
ilParameterAppender::getName | ( | ) |
Definition at line 103 of file class.ilParameterAppender.php.
References $name.
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, $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 | ) |
|
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\updateLinksObject().
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().