ILIAS
Release_3_10_x_branch Revision 61812
|
Class ilObjLinkResourceGUI. More...
Public Member Functions | |
ilLinkResourceItems ($webr_id) | |
Constructor public. | |
setLinkResourceRefId ($a_ref_id) | |
getLinkResourceRefId () | |
setLinkResourceId ($a_id) | |
getLinkResourceId () | |
setLinkId ($a_id) | |
getLinkId () | |
setTitle ($a_title) | |
getTitle () | |
setDescription ($a_description) | |
getDescription () | |
setTarget ($a_target) | |
getTarget () | |
setActiveStatus ($a_status) | |
getActiveStatus () | |
setDisableCheckStatus ($a_status) | |
getDisableCheckStatus () | |
__setCreateDate ($a_date) | |
getCreateDate () | |
__setLastUpdateDate ($a_date) | |
getLastUpdateDate () | |
setLastCheckDate ($a_date) | |
getLastCheckDate () | |
setValidStatus ($a_status) | |
getValidStatus () | |
cloneItems ($a_new_id) | |
Copy web resource items. | |
delete ($a_item_id, $a_update_history=true) | |
update ($a_update_history=true) | |
updateValid ($a_status) | |
updateActive ($a_status) | |
updateDisableCheck ($a_status) | |
updateLastCheck ($a_offset=0) | |
updateValidByCheck ($a_offset=0) | |
add ($a_update_history=true) | |
readItem ($a_link_id) | |
getItem ($a_link_id) | |
getAllItems () | |
getActivatedItems () | |
getCheckItems ($a_offset=0) | |
_deleteAll ($webr_id) | |
_isSingular ($a_webr_id) | |
Check whether there is only one active link in the web resource. | |
_getFirstLink ($a_webr_id) | |
Get first link item Check before with _isSingular() if there is more or less than one. |
Class ilObjLinkResourceGUI.
Definition at line 34 of file class.ilLinkResourceItems.php.
ilLinkResourceItems::__setCreateDate | ( | $a_date | ) |
Definition at line 116 of file class.ilLinkResourceItems.php.
Referenced by add(), and readItem().
ilLinkResourceItems::__setLastUpdateDate | ( | $a_date | ) |
Definition at line 125 of file class.ilLinkResourceItems.php.
Referenced by add(), readItem(), and update().
ilLinkResourceItems::_deleteAll | ( | $webr_id | ) |
Definition at line 479 of file class.ilLinkResourceItems.php.
Referenced by ilObjLinkResource\delete().
ilLinkResourceItems::_getFirstLink | ( | $a_webr_id | ) |
Get first link item Check before with _isSingular() if there is more or less than one.
int | $a_webr_id | object id of web resource |
Definition at line 513 of file class.ilLinkResourceItems.php.
References $res, and DB_FETCHMODE_OBJECT.
Referenced by ilObjLinkResourceListGUI\__readLink().
ilLinkResourceItems::_isSingular | ( | $a_webr_id | ) |
Check whether there is only one active link in the web resource.
In this case this link is shown in a new browser window
int | $a_webr_id | object id of web resource |
Definition at line 496 of file class.ilLinkResourceItems.php.
References $res.
Referenced by ilObjLinkResourceListGUI\__checkDirectLink().
ilLinkResourceItems::add | ( | $a_update_history = true | ) |
Definition at line 340 of file class.ilLinkResourceItems.php.
References __setCreateDate(), __setLastUpdateDate(), ilHistory\_createEntry(), getActiveStatus(), getCreateDate(), getDescription(), getDisableCheckStatus(), getLastUpdateDate(), getLinkResourceId(), getTarget(), getTitle(), and setLinkId().
ilLinkResourceItems::cloneItems | ( | $a_new_id | ) |
Copy web resource items.
public
int | obj_id of new object |
Definition at line 157 of file class.ilLinkResourceItems.php.
References $data, ilParameterAppender\_getParams(), getAllItems(), getLinkResourceId(), and ilLinkResourceItems().
ilLinkResourceItems::delete | ( | $a_item_id, | |
$a_update_history = true |
|||
) |
Definition at line 187 of file class.ilLinkResourceItems.php.
References ilHistory\_createEntry(), getLinkResourceId(), and getTitle().
ilLinkResourceItems::getActivatedItems | ( | ) |
Definition at line 446 of file class.ilLinkResourceItems.php.
References getAllItems().
ilLinkResourceItems::getActiveStatus | ( | ) |
Definition at line 103 of file class.ilLinkResourceItems.php.
Referenced by add(), and update().
ilLinkResourceItems::getAllItems | ( | ) |
Definition at line 422 of file class.ilLinkResourceItems.php.
References $res, DB_FETCHMODE_OBJECT, and getLinkResourceId().
Referenced by cloneItems(), getActivatedItems(), and getCheckItems().
ilLinkResourceItems::getCheckItems | ( | $a_offset = 0 | ) |
Definition at line 458 of file class.ilLinkResourceItems.php.
References getAllItems().
ilLinkResourceItems::getCreateDate | ( | ) |
Definition at line 120 of file class.ilLinkResourceItems.php.
Referenced by add().
ilLinkResourceItems::getDescription | ( | ) |
Definition at line 87 of file class.ilLinkResourceItems.php.
Referenced by add(), and update().
ilLinkResourceItems::getDisableCheckStatus | ( | ) |
Definition at line 111 of file class.ilLinkResourceItems.php.
Referenced by add(), and update().
ilLinkResourceItems::getItem | ( | $a_link_id | ) |
Definition at line 396 of file class.ilLinkResourceItems.php.
References $res, DB_FETCHMODE_OBJECT, and getLinkResourceId().
ilLinkResourceItems::getLastCheckDate | ( | ) |
Definition at line 137 of file class.ilLinkResourceItems.php.
Referenced by update().
ilLinkResourceItems::getLastUpdateDate | ( | ) |
Definition at line 129 of file class.ilLinkResourceItems.php.
Referenced by add(), and update().
ilLinkResourceItems::getLinkId | ( | ) |
Definition at line 71 of file class.ilLinkResourceItems.php.
Referenced by update(), updateActive(), updateDisableCheck(), and updateValid().
ilLinkResourceItems::getLinkResourceId | ( | ) |
Definition at line 63 of file class.ilLinkResourceItems.php.
Referenced by add(), cloneItems(), delete(), getAllItems(), getItem(), update(), updateLastCheck(), and updateValidByCheck().
ilLinkResourceItems::getLinkResourceRefId | ( | ) |
Definition at line 55 of file class.ilLinkResourceItems.php.
ilLinkResourceItems::getTarget | ( | ) |
Definition at line 95 of file class.ilLinkResourceItems.php.
Referenced by add(), and update().
ilLinkResourceItems::getTitle | ( | ) |
ilLinkResourceItems::getValidStatus | ( | ) |
Definition at line 145 of file class.ilLinkResourceItems.php.
References $valid.
Referenced by update().
ilLinkResourceItems::ilLinkResourceItems | ( | $webr_id | ) |
Constructor public.
Definition at line 40 of file class.ilLinkResourceItems.php.
Referenced by cloneItems().
ilLinkResourceItems::readItem | ( | $a_link_id | ) |
Definition at line 371 of file class.ilLinkResourceItems.php.
References $res, __setCreateDate(), __setLastUpdateDate(), DB_FETCHMODE_OBJECT, setActiveStatus(), setDescription(), setDisableCheckStatus(), setLastCheckDate(), setLinkId(), setTarget(), setTitle(), and setValidStatus().
ilLinkResourceItems::setActiveStatus | ( | $a_status | ) |
Definition at line 99 of file class.ilLinkResourceItems.php.
Referenced by readItem().
ilLinkResourceItems::setDescription | ( | $a_description | ) |
Definition at line 83 of file class.ilLinkResourceItems.php.
Referenced by readItem().
ilLinkResourceItems::setDisableCheckStatus | ( | $a_status | ) |
Definition at line 107 of file class.ilLinkResourceItems.php.
Referenced by readItem().
ilLinkResourceItems::setLastCheckDate | ( | $a_date | ) |
Definition at line 133 of file class.ilLinkResourceItems.php.
Referenced by readItem().
ilLinkResourceItems::setLinkId | ( | $a_id | ) |
Definition at line 67 of file class.ilLinkResourceItems.php.
Referenced by add(), and readItem().
ilLinkResourceItems::setLinkResourceId | ( | $a_id | ) |
Definition at line 59 of file class.ilLinkResourceItems.php.
ilLinkResourceItems::setLinkResourceRefId | ( | $a_ref_id | ) |
Definition at line 51 of file class.ilLinkResourceItems.php.
ilLinkResourceItems::setTarget | ( | $a_target | ) |
Definition at line 91 of file class.ilLinkResourceItems.php.
Referenced by readItem().
ilLinkResourceItems::setTitle | ( | $a_title | ) |
Definition at line 75 of file class.ilLinkResourceItems.php.
Referenced by readItem().
ilLinkResourceItems::setValidStatus | ( | $a_status | ) |
Definition at line 141 of file class.ilLinkResourceItems.php.
Referenced by readItem().
ilLinkResourceItems::update | ( | $a_update_history = true | ) |
Definition at line 207 of file class.ilLinkResourceItems.php.
References __setLastUpdateDate(), ilHistory\_createEntry(), getActiveStatus(), getDescription(), getDisableCheckStatus(), getLastCheckDate(), getLastUpdateDate(), getLinkId(), getLinkResourceId(), getTarget(), getTitle(), and getValidStatus().
ilLinkResourceItems::updateActive | ( | $a_status | ) |
Definition at line 254 of file class.ilLinkResourceItems.php.
References getLinkId().
ilLinkResourceItems::updateDisableCheck | ( | $a_status | ) |
Definition at line 266 of file class.ilLinkResourceItems.php.
References getLinkId().
ilLinkResourceItems::updateLastCheck | ( | $a_offset = 0 | ) |
Definition at line 279 of file class.ilLinkResourceItems.php.
References getLinkResourceId().
ilLinkResourceItems::updateValid | ( | $a_status | ) |
Definition at line 241 of file class.ilLinkResourceItems.php.
References getLinkId().
ilLinkResourceItems::updateValidByCheck | ( | $a_offset = 0 | ) |
Definition at line 309 of file class.ilLinkResourceItems.php.
References getLinkResourceId().