Interface for classes which provides custom blocks to the template engine.
The classes must implement this interface and then return a ezcTemplateCustomBlockDefinition object from the method getCustomBlockDefinition().
Source for this file: /Template/src/interfaces/custom_block.php
Version: | //autogen// |
public static ezcTemplateCustomBlockDefinition |
getCustomBlockDefinition(
$name
)
Return a ezcTemplateCustomBlockDefinition for the given block $name. |
Return a ezcTemplateCustomBlockDefinition for the given block $name.
Name | Type | Description |
---|---|---|
$name |
string |