ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 $DIC, $ilDB, and $webr_id.
|
static |
Definition at line 190 of file class.ilParameterAppender.php.
References $DIC, $ilUser, PHPMailer\PHPMailer\$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 296 of file class.ilParameterAppender.php.
References $DIC, $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 235 of file class.ilParameterAppender.php.
References $DIC, $ilDB, PHPMailer\PHPMailer\$params, $res, $row, 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 181 of file class.ilParameterAppender.php.
References $DIC, and $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 $DIC, $ilDB, $query, $res, getName(), getObjId(), and getValue().
ilParameterAppender::delete | ( | $a_param_id | ) |
Definition at line 164 of file class.ilParameterAppender.php.
References $DIC, $ilDB, $query, $res, and getObjId().
Referenced by ilObjLinkResourceGUI\deleteParameter(), and ilObjLinkResourceGUI\deleteParameterForm().
ilParameterAppender::getErrorCode | ( | ) |
ilParameterAppender::getName | ( | ) |
Definition at line 106 of file class.ilParameterAppender.php.
References $name.
Referenced by add(), and validate().
ilParameterAppender::getObjId | ( | ) |
Definition at line 97 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 70 of file class.ilParameterAppender.php.
References $DIC, $ilDB, PHPMailer\PHPMailer\$params, $query, $res, $row, and ilDBConstants\FETCHMODE_ASSOC.
Referenced by ilWebLinkXmlParser\handlerBeginTag().
ilParameterAppender::getValue | ( | ) |
Definition at line 114 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 259 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 102 of file class.ilParameterAppender.php.
Referenced by ilObjLinkResourceGUI\updateLinks().
ilParameterAppender::setObjId | ( | $a_obj_id | ) |
Definition at line 92 of file class.ilParameterAppender.php.
ilParameterAppender::setValue | ( | $a_value | ) |
Definition at line 110 of file class.ilParameterAppender.php.
ilParameterAppender::validate | ( | ) |
Definition at line 119 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().