eZPublishCommunityProject  2013.9
eZ\Publish\Core\MVC\Legacy\Templating\Converter\ObjectConverter Interface Reference

Interface for object converters. More...

+ Inheritance diagram for eZ\Publish\Core\MVC\Legacy\Templating\Converter\ObjectConverter:

Public Member Functions

 convert ($object)
 Converts $object to make it compatible with eZTemplate API. More...
 

Detailed Description

Interface for object converters.

The purpose of an object converter is to make objects compatible to eZ Publish legacy templates.

Member Function Documentation

eZ\Publish\Core\MVC\Legacy\Templating\Converter\ObjectConverter::convert (   $object)

Converts $object to make it compatible with eZTemplate API.

Parameters
object$object
Exceptions
\InvalidArgumentExceptionIf $object is actually not an object
Returns
mixed|

Implemented in eZ\Publish\Core\MVC\Legacy\Templating\Converter\DelegatingConverter, eZ\Publish\Core\MVC\Legacy\Templating\Converter\ApiContentConverter, eZ\Publish\Core\MVC\Legacy\Templating\Converter\GenericConverter, and eZ\Publish\Core\MVC\Legacy\Templating\Converter\PagePartsConverter.


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