PHP Class Sulu\Bundle\ContentBundle\Twig\ExportTwigExtension

Inheritance: extends Twig_Extension
Exibir arquivo Open project: sulu/sulu

Public Methods

Method Description
__construct ( Sulu\Component\Content\Export\ContentExportManagerInterface $contentExportManager )
counter ( ) : integer
escapeXmlContent ( $content ) : string
getFunctions ( ) : array Returns an array of possible function in this extension.
getName ( ) : string Returns the name of the extension.

Method Details

__construct() public method

public __construct ( Sulu\Component\Content\Export\ContentExportManagerInterface $contentExportManager )
$contentExportManager Sulu\Component\Content\Export\ContentExportManagerInterface

counter() public method

public counter ( ) : integer
return integer

escapeXmlContent() public method

public escapeXmlContent ( $content ) : string
$content
return string

getFunctions() public method

Returns an array of possible function in this extension.
public getFunctions ( ) : array
return array

getName() public method

Returns the name of the extension.
public getName ( ) : string
return string The extension name