eZPublishCommunityProject  2013.6
eZ\Publish\Core\MVC\Legacy\Templating\Adapter\ZoneAdapter Class Reference

Adapter for Page objects. More...

+ Inheritance diagram for eZ\Publish\Core\MVC\Legacy\Templating\Adapter\ZoneAdapter:
+ Collaboration diagram for eZ\Publish\Core\MVC\Legacy\Templating\Adapter\ZoneAdapter:

Protected Member Functions

 definition ()
 Returns the hash map, mapping the legacy attributes name (key) to the value object property name (value) (e.g. More...
 
- Protected Member Functions inherited from eZ\Publish\Core\MVC\Legacy\Templating\Adapter\DefinitionBasedAdapter
 definition ()
 Returns the hash map, mapping the legacy attributes name (key) to the value object property name (value) (e.g. More...
 

Additional Inherited Members

- Public Member Functions inherited from eZ\Publish\Core\MVC\Legacy\Templating\Adapter\DefinitionBasedAdapter
 __construct (ValueObject $valueObject)
 
- Public Member Functions inherited from eZ\Publish\Core\MVC\Legacy\Templating\Adapter\ValueObjectAdapter
 __construct (ValueObject $valueObject, array $attributesMap)
 
 attribute ($name)
 Returns the value of attribute $name. More...
 
 attributes ()
 Returns an array of supported attributes (only their names). More...
 
 getValueObject ()
 
 hasAttribute ($name)
 Returns true if object supports attribute $name. More...
 

Detailed Description

Adapter for Page objects.

Member Function Documentation

eZ\Publish\Core\MVC\Legacy\Templating\Adapter\ZoneAdapter::definition ( )
protected

Returns the hash map, mapping the legacy attributes name (key) to the value object property name (value) (e.g.

my_legacy_attribute_name => newPropertyName).

The value of an entry in the returned array can also be a closure which would be called directly with the value object as only parameter.

Returns
array

The documentation for this class was generated from the following file: