eZPublish  4.7
ezpRestContentRenderer Class Reference

Static Public Member Functions

static getRenderer ($renderer, ezpContent $content, ezpRestMvcController $controller)
 Returns ezpRestContentProviderInterface object for given renderer and content. More...
 

Public Attributes

const DEFAULT_RENDERER = 'xhtml'
 

Static Protected Member Functions

static createRenderer ($renderer, ezpContent $content, ezpRestMvcController $controller)
 Returns ezpRestContentProviderInterface object for requested renderer. More...
 

Static Protected Attributes

static $renderer = null
 

Member Function Documentation

static ezpRestContentRenderer::createRenderer (   $renderer,
ezpContent  $content,
ezpRestMvcController  $controller 
)
staticprotected

Returns ezpRestContentProviderInterface object for requested renderer.

Parameters
string$renderer
ezpContent$content
Returns
ezpRestContentProviderInterface
static ezpRestContentRenderer::getRenderer (   $renderer,
ezpContent  $content,
ezpRestMvcController  $controller 
)
static

Returns ezpRestContentProviderInterface object for given renderer and content.

Parameters
string$renderer
ezpContent$content
Returns
bool|ezpRestContentProviderInterface

Member Data Documentation

ezpRestContentRenderer::$renderer = null
staticprotected

Referenced by createRenderer(), and getRenderer().

const ezpRestContentRenderer::DEFAULT_RENDERER = 'xhtml'

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