Content style data object factory.
object(int $ref_id, int $obj_id=0)
Objects without ref id (e.g.
External facade for object content styles.
InternalDataService $data_service
inheritFromParent()
Inherits a non local style from the parent container.
getEffectiveStyleId()
This ID must be used when rendering the object (pages).
cloneTo(int $obj_id)
This must be called on cloning the parent object, with passing the object id of the clone.
__construct(InternalDataService $data_service, InternalDomainService $domain_service, int $ref_id, int $obj_id=0)
ObjectManager $object_manager
getStyleId()
Get the style ID currently set (stored) by the object.
InternalDomainService $domain_service
getExportStyleId()
This is the ID of the style that will be exported with the content object.
updateStyleId(int $style_id)
Calling this should usually be avoided, currently this is necessary on import routines,...
Manages repository object related content style behaviour.