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
파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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