ILIAS
Release_5_0_x_branch Revision 61816
|
ilContainerStartObjects More...
Public Member Functions | |
__construct ($a_object_ref_id, $a_object_id) | |
getObjId () | |
getRefId () | |
getStartObjects () | |
delete ($a_crs_start_id) | |
Delete item by sequence id type $ilDB. | |
deleteItem ($a_item_ref_id) | |
Delete item by ref_id. | |
exists ($a_item_ref_id) | |
add ($a_item_ref_id) | |
__deleteAll () | |
setObjectPos ($a_start_id, $a_pos) | |
getPossibleStarters () | |
allFullfilled ($a_user_id) | |
isFullfilled ($a_user_id, $a_item_id) | |
cloneDependencies ($a_target_id, $a_copy_id) |
Static Public Member Functions | |
static | isStartObject ($a_container_id, $a_item_ref_id) |
Check if object is start object type $ilDB. |
Protected Member Functions | |
setObjId ($a_id) | |
setRefId ($a_ref_id) | |
__read () |
Protected Attributes | |
$ref_id | |
$obj_id | |
$start_objs = array() |
Definition at line 12 of file class.ilContainerStartObjects.php.
ilContainerStartObjects::__construct | ( | $a_object_ref_id, | |
$a_object_id | |||
) |
Definition at line 18 of file class.ilContainerStartObjects.php.
References __read(), setObjId(), and setRefId().
ilContainerStartObjects::__deleteAll | ( | ) |
Definition at line 145 of file class.ilContainerStartObjects.php.
References $ilDB, $query, and getObjId().
|
protected |
Definition at line 51 of file class.ilContainerStartObjects.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and getObjId().
Referenced by __construct().
ilContainerStartObjects::add | ( | $a_item_ref_id | ) |
Definition at line 119 of file class.ilContainerStartObjects.php.
References $ilDB, $query, and getObjId().
Referenced by ilLOSettings\updateStartObjects().
ilContainerStartObjects::allFullfilled | ( | $a_user_id | ) |
Definition at line 188 of file class.ilContainerStartObjects.php.
References getStartObjects(), and isFullfilled().
ilContainerStartObjects::cloneDependencies | ( | $a_target_id, | |
$a_copy_id | |||
) |
Definition at line 248 of file class.ilContainerStartObjects.php.
References $ilLog, ilCopyWizardOptions\_getInstance(), and getStartObjects().
ilContainerStartObjects::delete | ( | $a_crs_start_id | ) |
Delete item by sequence id type $ilDB.
type | $a_crs_start_id |
Definition at line 81 of file class.ilContainerStartObjects.php.
References $ilDB, $query, and getObjId().
ilContainerStartObjects::deleteItem | ( | $a_item_ref_id | ) |
Delete item by ref_id.
type | $a_item_ref_id |
Definition at line 96 of file class.ilContainerStartObjects.php.
References $ilDB, $query, and getObjId().
Referenced by ilLOSettings\updateStartObjects().
ilContainerStartObjects::exists | ( | $a_item_ref_id | ) |
Definition at line 107 of file class.ilContainerStartObjects.php.
References $ilDB, $query, $res, and getObjId().
Referenced by ilLOSettings\updateStartObjects().
ilContainerStartObjects::getObjId | ( | ) |
Definition at line 31 of file class.ilContainerStartObjects.php.
References $obj_id.
Referenced by __deleteAll(), __read(), add(), delete(), deleteItem(), exists(), and setObjectPos().
ilContainerStartObjects::getPossibleStarters | ( | ) |
Definition at line 170 of file class.ilContainerStartObjects.php.
References ilObjectActivation\getItems(), and getRefId().
ilContainerStartObjects::getRefId | ( | ) |
Definition at line 41 of file class.ilContainerStartObjects.php.
References $ref_id.
Referenced by getPossibleStarters(), and isFullfilled().
ilContainerStartObjects::getStartObjects | ( | ) |
Definition at line 46 of file class.ilContainerStartObjects.php.
Referenced by allFullfilled(), and cloneDependencies().
ilContainerStartObjects::isFullfilled | ( | $a_user_id, | |
$a_item_id | |||
) |
Definition at line 200 of file class.ilContainerStartObjects.php.
References $obj_id, ilLPStatus\_hasUserCompleted(), ilObjSurveyAccess\_lookupFinished(), ilObjTestAccess\checkCondition(), and getRefId().
Referenced by allFullfilled().
|
static |
Check if object is start object type $ilDB.
type | $a_container_id | |
type | $a_item_ref_id |
Definition at line 284 of file class.ilContainerStartObjects.php.
References $ilDB, $query, and $res.
Referenced by ilLOTestQuestionAdapter\isQualifiedStartRun().
ilContainerStartObjects::setObjectPos | ( | $a_start_id, | |
$a_pos | |||
) |
Definition at line 155 of file class.ilContainerStartObjects.php.
References $ilDB, and getObjId().
|
protected |
Definition at line 26 of file class.ilContainerStartObjects.php.
Referenced by __construct().
|
protected |
Definition at line 36 of file class.ilContainerStartObjects.php.
Referenced by __construct().
|
protected |
Definition at line 15 of file class.ilContainerStartObjects.php.
Referenced by getObjId(), and isFullfilled().
|
protected |
Definition at line 14 of file class.ilContainerStartObjects.php.
Referenced by getRefId().
|
protected |
Definition at line 16 of file class.ilContainerStartObjects.php.