Méthode | Description | |
---|---|---|
renderContentFieldEdit ( eZ\Publish\API\Repository\Values\Content\Field $field, $fieldTypeIdentifier, array $params = [] ) | ||
renderContentFieldView ( eZ\Publish\API\Repository\Values\Content\Field $field, $fieldTypeIdentifier, array $params = [] ) | ||
renderFieldDefinitionEdit ( eZ\Publish\API\Repository\Values\ContentType\FieldDefinition $fieldDefinition, array $params = [] ) | ||
renderFieldDefinitionView ( eZ\Publish\API\Repository\Values\ContentType\FieldDefinition $fieldDefinition, array $params = [] ) | ||
setBaseTemplate ( string | Twig_Templat\Twig_Template $baseTemplate ) | ||
setFieldDefinitionEditResources ( array $fieldDefinitionEditResources = null ) | ||
setFieldDefinitionViewResources ( array $fieldDefinitionViewResources = null ) | ||
setFieldEditResources ( array $fieldEditResources = null ) | ||
setFieldViewResources ( array $fieldViewResources = null ) | ||
setTwig ( Twig_Environment $twig ) | ||
sortResourcesCallback ( array $a, array $b ) |
Méthode | Description | |
---|---|---|
getBlockByName ( string $name, string $resourcesName ) : array | Returns the template block of the given $name available in the resources which name is $resourcesName. | |
getBlocksByField ( string $fieldTypeIdentifier, integer $type, null | string | Twig_Templat\Twig_Template $localTemplate = null ) : array | Returns template blocks for $fieldTypeIdentifier. First check in the $localTemplate if it's provided. | |
getBlocksByFieldDefinition ( eZ\Publish\API\Repository\Values\ContentType\FieldDefinition $definition, integer $type ) : array | Returns the template block for the settings of the field definition $definition. | |
getRenderFieldBlockName ( string $fieldTypeIdentifier, integer $type ) : string | Returns expected block name for $fieldTypeIdentifier, attached in $content. | |
getRenderFieldDefinitionBlockName ( string $fieldTypeIdentifier, integer $type ) : string | Returns the name of the block to render the settings of the field definition $definition. | |
renderContentField ( eZ\Publish\API\Repository\Values\Content\Field $field, string $fieldTypeIdentifier, array $params, integer $type ) : string | ||
renderFieldDefinition ( eZ\Publish\API\Repository\Values\ContentType\FieldDefinition $fieldDefinition, array $params, integer $type ) : string | ||
searchBlock ( string $blockName, Twig_Template $tpl ) : array | null | Returns the block named $blockName in the given template. If it's not found, returns null. |
public renderContentFieldEdit ( eZ\Publish\API\Repository\Values\Content\Field $field, $fieldTypeIdentifier, array $params = [] ) | ||
$field | eZ\Publish\API\Repository\Values\Content\Field | |
$params | array |
public renderContentFieldView ( eZ\Publish\API\Repository\Values\Content\Field $field, $fieldTypeIdentifier, array $params = [] ) | ||
$field | eZ\Publish\API\Repository\Values\Content\Field | |
$params | array |
public renderFieldDefinitionEdit ( eZ\Publish\API\Repository\Values\ContentType\FieldDefinition $fieldDefinition, array $params = [] ) | ||
$fieldDefinition | eZ\Publish\API\Repository\Values\ContentType\FieldDefinition | |
$params | array |
public renderFieldDefinitionView ( eZ\Publish\API\Repository\Values\ContentType\FieldDefinition $fieldDefinition, array $params = [] ) | ||
$fieldDefinition | eZ\Publish\API\Repository\Values\ContentType\FieldDefinition | |
$params | array |
public setBaseTemplate ( string | Twig_Templat\Twig_Template $baseTemplate ) | ||
$baseTemplate | string | Twig_Templat\Twig_Template |
public setFieldDefinitionEditResources ( array $fieldDefinitionEditResources = null ) | ||
$fieldDefinitionEditResources | array |
public setFieldDefinitionViewResources ( array $fieldDefinitionViewResources = null ) | ||
$fieldDefinitionViewResources | array |
public setFieldEditResources ( array $fieldEditResources = null ) | ||
$fieldEditResources | array |
public setFieldViewResources ( array $fieldViewResources = null ) | ||
$fieldViewResources | array |
public sortResourcesCallback ( array $a, array $b ) | ||
$a | array | |
$b | array |