ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (int $a_server_id, int $mid, int $cs_root, int $cs_id) | |
isMapped () | |
getServerId () | |
setServerId (int $a_id) | |
setMembershipId (int $a_member_id) | |
getMembershipId () | |
getTreeId () | |
setTreeId (int $root) | |
getCSId () | |
setCSId (int $id) | |
getRefId () | |
setRefId (int $a_id) | |
getObjId () | |
setObjId (int $id) | |
isTitleUpdateEnabled () | |
enableTitleUpdate (bool $enabled) | |
isPositionUpdateEnabled () | |
enablePositionUpdate (bool $enabled) | |
isTreeUpdateEnabled () | |
enableTreeUpdate (bool $enabled) | |
update () | |
Update node mapping. More... | |
create () | |
delete () | |
Delete entry. More... | |
Static Public Member Functions | |
static | deleteByServerId ($a_server_id) |
Protected Member Functions | |
read () | |
read settings More... | |
Private Attributes | |
int | $server_id |
int | $mid |
int | $cs_root |
int | $cs_id |
int | $ref_id |
int | $obj_id |
bool | $title_update = false |
bool | $position_update = false |
bool | $tree_update = false |
bool | $mapped = false |
ilDBInterface | $db |
Definition at line 23 of file class.ilECSNodeMappingAssignment.php.
ilECSNodeMappingAssignment::__construct | ( | int | $a_server_id, |
int | $mid, | ||
int | $cs_root, | ||
int | $cs_id | ||
) |
Definition at line 40 of file class.ilECSNodeMappingAssignment.php.
References $cs_id, $cs_root, $DIC, $mid, and read().
ilECSNodeMappingAssignment::create | ( | ) |
Definition at line 158 of file class.ilECSNodeMappingAssignment.php.
References $query, getCSId(), getMembershipId(), getObjId(), getRefId(), getServerId(), getTreeId(), isPositionUpdateEnabled(), isTitleUpdateEnabled(), and isTreeUpdateEnabled().
Referenced by update().
ilECSNodeMappingAssignment::delete | ( | ) |
Delete entry.
Definition at line 180 of file class.ilECSNodeMappingAssignment.php.
References $query, getCSId(), getMembershipId(), getServerId(), and getTreeId().
|
static |
Definition at line 214 of file class.ilECSNodeMappingAssignment.php.
References $DIC, $ilDB, and $query.
Referenced by ilECSSetting\delete().
ilECSNodeMappingAssignment::enablePositionUpdate | ( | bool | $enabled | ) |
Definition at line 134 of file class.ilECSNodeMappingAssignment.php.
References ILIAS\LTI\ToolProvider\$enabled.
Referenced by read().
ilECSNodeMappingAssignment::enableTitleUpdate | ( | bool | $enabled | ) |
Definition at line 124 of file class.ilECSNodeMappingAssignment.php.
References ILIAS\LTI\ToolProvider\$enabled.
Referenced by read().
ilECSNodeMappingAssignment::enableTreeUpdate | ( | bool | $enabled | ) |
Definition at line 144 of file class.ilECSNodeMappingAssignment.php.
References ILIAS\LTI\ToolProvider\$enabled.
Referenced by read().
ilECSNodeMappingAssignment::getCSId | ( | ) |
Definition at line 89 of file class.ilECSNodeMappingAssignment.php.
References $cs_id.
Referenced by create(), delete(), read(), and ilECSCmsTreeSynchronizer\syncCategory().
ilECSNodeMappingAssignment::getMembershipId | ( | ) |
ilECSNodeMappingAssignment::getObjId | ( | ) |
Definition at line 109 of file class.ilECSNodeMappingAssignment.php.
References $obj_id.
Referenced by create().
ilECSNodeMappingAssignment::getRefId | ( | ) |
Definition at line 99 of file class.ilECSNodeMappingAssignment.php.
References $ref_id.
Referenced by ilECSCmsTreeSynchronizer\checkTreeUpdates(), create(), and ilECSCmsTreeSynchronizer\syncNode().
ilECSNodeMappingAssignment::getServerId | ( | ) |
Definition at line 59 of file class.ilECSNodeMappingAssignment.php.
References $server_id.
Referenced by create(), delete(), and read().
ilECSNodeMappingAssignment::getTreeId | ( | ) |
ilECSNodeMappingAssignment::isMapped | ( | ) |
ilECSNodeMappingAssignment::isPositionUpdateEnabled | ( | ) |
Definition at line 129 of file class.ilECSNodeMappingAssignment.php.
References $position_update.
Referenced by create().
ilECSNodeMappingAssignment::isTitleUpdateEnabled | ( | ) |
Definition at line 119 of file class.ilECSNodeMappingAssignment.php.
References $title_update.
Referenced by create().
ilECSNodeMappingAssignment::isTreeUpdateEnabled | ( | ) |
Definition at line 139 of file class.ilECSNodeMappingAssignment.php.
References $tree_update.
Referenced by create().
|
protected |
read settings
Definition at line 195 of file class.ilECSNodeMappingAssignment.php.
References $query, $res, enablePositionUpdate(), enableTitleUpdate(), enableTreeUpdate(), ilDBConstants\FETCHMODE_OBJECT, getCSId(), getMembershipId(), getServerId(), getTreeId(), setObjId(), and setRefId().
Referenced by __construct().
ilECSNodeMappingAssignment::setCSId | ( | int | $id | ) |
Definition at line 94 of file class.ilECSNodeMappingAssignment.php.
References $id.
ilECSNodeMappingAssignment::setMembershipId | ( | int | $a_member_id | ) |
Definition at line 69 of file class.ilECSNodeMappingAssignment.php.
ilECSNodeMappingAssignment::setObjId | ( | int | $id | ) |
Definition at line 114 of file class.ilECSNodeMappingAssignment.php.
References $id.
Referenced by read().
ilECSNodeMappingAssignment::setRefId | ( | int | $a_id | ) |
Definition at line 104 of file class.ilECSNodeMappingAssignment.php.
Referenced by read().
ilECSNodeMappingAssignment::setServerId | ( | int | $a_id | ) |
Definition at line 64 of file class.ilECSNodeMappingAssignment.php.
ilECSNodeMappingAssignment::setTreeId | ( | int | $root | ) |
Definition at line 84 of file class.ilECSNodeMappingAssignment.php.
ilECSNodeMappingAssignment::update | ( | ) |
Update node mapping.
Definition at line 152 of file class.ilECSNodeMappingAssignment.php.
References create().
|
private |
Definition at line 28 of file class.ilECSNodeMappingAssignment.php.
Referenced by __construct(), and getCSId().
|
private |
Definition at line 27 of file class.ilECSNodeMappingAssignment.php.
Referenced by __construct(), and getTreeId().
|
private |
Definition at line 38 of file class.ilECSNodeMappingAssignment.php.
|
private |
Definition at line 36 of file class.ilECSNodeMappingAssignment.php.
Referenced by isMapped().
|
private |
Definition at line 26 of file class.ilECSNodeMappingAssignment.php.
Referenced by __construct(), and getMembershipId().
|
private |
Definition at line 30 of file class.ilECSNodeMappingAssignment.php.
Referenced by getObjId().
|
private |
Definition at line 33 of file class.ilECSNodeMappingAssignment.php.
Referenced by isPositionUpdateEnabled().
|
private |
Definition at line 29 of file class.ilECSNodeMappingAssignment.php.
Referenced by getRefId().
|
private |
Definition at line 25 of file class.ilECSNodeMappingAssignment.php.
Referenced by getServerId().
|
private |
Definition at line 32 of file class.ilECSNodeMappingAssignment.php.
Referenced by isTitleUpdateEnabled().
|
private |
Definition at line 34 of file class.ilECSNodeMappingAssignment.php.
Referenced by isTreeUpdateEnabled().