ILIAS
trunk Revision v11.0_alpha-1811-gd2d5443e411
|
External facade for object content styles. More...
Public Member Functions | |
__construct (InternalDataService $data_service, InternalDomainService $domain_service, int $ref_id, int $obj_id=0) | |
cloneTo (int $obj_id) | |
This must be called on cloning the parent object, with passing the object id of the clone. More... | |
getEffectiveStyleId () | |
This ID must be used when rendering the object (pages). More... | |
getStyleId () | |
Get the style ID currently set (stored) by the object. More... | |
getExportStyleId () | |
This is the ID of the style that will be exported with the content object. More... | |
updateStyleId (int $style_id) | |
Calling this should usually be avoided, currently this is necessary on import routines, but otherwise updates should be called internally automatically. More... | |
inheritFromParent () | |
Inherits a non local style from the parent container. More... | |
Protected Attributes | |
ObjectManager | $object_manager |
int | $ref_id |
int | $obj_id |
InternalDataService | $data_service |
InternalDomainService | $domain_service |
External facade for object content styles.
Definition at line 31 of file class.ObjectFacade.php.
ILIAS\Style\Content\Object\ObjectFacade::__construct | ( | InternalDataService | $data_service, |
InternalDomainService | $domain_service, | ||
int | $ref_id, | ||
int | $obj_id = 0 |
||
) |
Definition at line 39 of file class.ObjectFacade.php.
References ILIAS\Style\Content\Object\ObjectFacade\$domain_service, ILIAS\Style\Content\Object\ObjectFacade\$ref_id, ilObject\_lookupObjId(), and ILIAS\Style\Content\InternalDomainService\object().
ILIAS\Style\Content\Object\ObjectFacade::cloneTo | ( | int | $obj_id | ) |
This must be called on cloning the parent object, with passing the object id of the clone.
Definition at line 57 of file class.ObjectFacade.php.
ILIAS\Style\Content\Object\ObjectFacade::getEffectiveStyleId | ( | ) |
This ID must be used when rendering the object (pages).
It respects global settings like fixed style IDs.
Definition at line 66 of file class.ObjectFacade.php.
ILIAS\Style\Content\Object\ObjectFacade::getExportStyleId | ( | ) |
This is the ID of the style that will be exported with the content object.
Definition at line 85 of file class.ObjectFacade.php.
ILIAS\Style\Content\Object\ObjectFacade::getStyleId | ( | ) |
Get the style ID currently set (stored) by the object.
Note: This may be different from the effective style id, e.g. if a fixed global style overwrites the ID of the current object, or the ID of the current object is invalid, e.g. by referencing a non-shared parent style ID.
Definition at line 77 of file class.ObjectFacade.php.
ILIAS\Style\Content\Object\ObjectFacade::inheritFromParent | ( | ) |
Inherits a non local style from the parent container.
Definition at line 103 of file class.ObjectFacade.php.
ILIAS\Style\Content\Object\ObjectFacade::updateStyleId | ( | int | $style_id | ) |
Calling this should usually be avoided, currently this is necessary on import routines, but otherwise updates should be called internally automatically.
Definition at line 95 of file class.ObjectFacade.php.
|
protected |
Definition at line 36 of file class.ObjectFacade.php.
|
protected |
Definition at line 37 of file class.ObjectFacade.php.
Referenced by ILIAS\Style\Content\Object\ObjectFacade\__construct().
|
protected |
Definition at line 35 of file class.ObjectFacade.php.
|
protected |
Definition at line 33 of file class.ObjectFacade.php.
|
protected |
Definition at line 34 of file class.ObjectFacade.php.
Referenced by ILIAS\Style\Content\Object\ObjectFacade\__construct().