PHP 클래스 Neos\FluidAdaptor\Service\AbstractGenerator

파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$abstractViewHelperReflectionClass Neos\Flow\Reflection\ClassReflection The reflection class for AbstractViewHelper. Is needed quite often, that's why we use a pre-initialized one.
$docCommentParser Neos\Flow\Reflection\DocCommentParser The doc comment parser.
$reflectionService Neos\Flow\Reflection\ReflectionService

공개 메소드들

메소드 설명
__construct ( ) Constructor. Sets $this->abstractViewHelperReflectionClass

보호된 메소드들

메소드 설명
addChildWithCData ( SimpleXMLElement $parentXmlNode, string $childNodeName, string $childNodeValue ) : SimpleXMLElement Add a child node to $parentXmlNode, and wrap the contents inside a CDATA section.
getClassNamesInNamespace ( string $namespace ) : array Get all class names inside this namespace and return them as array.
getTagNameForClass ( string $className, string $namespace ) : string Get a tag name for a given ViewHelper class.

메소드 상세

__construct() 공개 메소드

Constructor. Sets $this->abstractViewHelperReflectionClass
public __construct ( )

addChildWithCData() 보호된 메소드

Add a child node to $parentXmlNode, and wrap the contents inside a CDATA section.
protected addChildWithCData ( SimpleXMLElement $parentXmlNode, string $childNodeName, string $childNodeValue ) : SimpleXMLElement
$parentXmlNode SimpleXMLElement Parent XML Node to add the child to
$childNodeName string Name of the child node
$childNodeValue string Value of the child node. Will be placed inside CDATA.
리턴 SimpleXMLElement the new element

getClassNamesInNamespace() 보호된 메소드

Get all class names inside this namespace and return them as array.
protected getClassNamesInNamespace ( string $namespace ) : array
$namespace string
리턴 array Array of all class names inside a given namespace.

getTagNameForClass() 보호된 메소드

Example: For the View Helper Neos\FluidAdaptor\ViewHelpers\Form\SelectViewHelper, and the namespace prefix Neos\FluidAdaptor\ViewHelpers\, this method returns "form.select".
protected getTagNameForClass ( string $className, string $namespace ) : string
$className string Class name
$namespace string Base namespace to use
리턴 string Tag name

프로퍼티 상세

$abstractViewHelperReflectionClass 보호되어 있는 프로퍼티

The reflection class for AbstractViewHelper. Is needed quite often, that's why we use a pre-initialized one.
protected ClassReflection,Neos\Flow\Reflection $abstractViewHelperReflectionClass
리턴 Neos\Flow\Reflection\ClassReflection

$docCommentParser 보호되어 있는 프로퍼티

The doc comment parser.
protected DocCommentParser,Neos\Flow\Reflection $docCommentParser
리턴 Neos\Flow\Reflection\DocCommentParser

$reflectionService 보호되어 있는 프로퍼티

protected ReflectionService,Neos\Flow\Reflection $reflectionService
리턴 Neos\Flow\Reflection\ReflectionService