PHP Класс Neos\FluidAdaptor\ViewHelpers\Form\AbstractFormViewHelper

If you set the "property" attribute to the name of the property to resolve from the object, this class will automatically set the name and value of a form element.
Наследование: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractTagBasedViewHelper
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$persistenceManager Neos\Flow\Persistence\PersistenceManagerInterface

Открытые методы

Метод Описание
injectPersistenceManager ( Neos\Flow\Persistence\PersistenceManagerInterface $persistenceManager ) : void Injects the Flow Persistence Manager

Защищенные методы

Метод Описание
prefixFieldName ( string $fieldName ) : string Prefixes / namespaces the given name with the form field prefix
registerFieldNameForFormTokenGeneration ( string $fieldName ) : void Register a field name for inclusion in the HMAC / Form Token generation
renderHiddenIdentityField ( object $object, string $name ) : string Renders a hidden form field containing the technical identity of the given object.

Описание методов

injectPersistenceManager() публичный Метод

Injects the Flow Persistence Manager
public injectPersistenceManager ( Neos\Flow\Persistence\PersistenceManagerInterface $persistenceManager ) : void
$persistenceManager Neos\Flow\Persistence\PersistenceManagerInterface
Результат void

prefixFieldName() защищенный Метод

Prefixes / namespaces the given name with the form field prefix
protected prefixFieldName ( string $fieldName ) : string
$fieldName string field name to be prefixed
Результат string namespaced field name

registerFieldNameForFormTokenGeneration() защищенный Метод

Register a field name for inclusion in the HMAC / Form Token generation
protected registerFieldNameForFormTokenGeneration ( string $fieldName ) : void
$fieldName string name of the field to register
Результат void

renderHiddenIdentityField() защищенный Метод

Renders a hidden form field containing the technical identity of the given object.
См. также: Neos\Flow\Mvc\Controller\Argument::setValue()
protected renderHiddenIdentityField ( object $object, string $name ) : string
$object object Object to create the identity field for
$name string Name
Результат string A hidden field containing the Identity (UUID in Flow) of the given object or NULL if the object is unknown to the persistence framework

Описание свойств

$persistenceManager защищенное свойство

protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager
Результат Neos\Flow\Persistence\PersistenceManagerInterface