PHP 클래스 Neos\Fusion\TypoScriptObjects\Helpers\FusionPathProxy

It wraps a part of the Fusion tree which does not contain Fusion objects or Eel expressions. This class is instantiated inside TemplateImplementation and is never used outside.
상속: implements Neos\FluidAdaptor\Core\Parser\SyntaxTree\TemplateObjectAccessInterface, implements ArrayAccess, implements IteratorAggregate, implements Countable
파일 보기 프로젝트 열기: neos/neos-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$fusionRuntime Neos\Fusion\Core\Runtime Reference to the TypoScript Runtime which controls the whole rendering
$partialTypoScriptTree array This is a part of the TypoScript tree built when evaluating $this->path.
$path string The TypoScript path this object proxies
$systemLogger Neos\Flow\Log\SystemLoggerInterface
$templateImplementation Neos\Fusion\TypoScriptObjects\TemplateImplementation Reference to the "parent" TypoScript object

공개 메소드들

메소드 설명
__construct ( TemplateImplementation $templateImplementation, string $path, array $partialTypoScriptTree ) Constructor.
__toString ( ) : string Finally evaluate the TypoScript path
count ( ) : integer
getIterator ( ) : ArrayIterator Iterates through all subelements.
objectAccess ( ) : FusionPathProxy | mixed Post-Processor which is called whenever this object is encountered in a Fluid object access.
offsetExists ( string $offset ) : boolean TRUE if a given subpath exists, FALSE otherwise.
offsetGet ( string $offset ) : mixed | FusionPathProxy Return the object at $offset; evaluating simple types right away, and wrapping arrays into ourselves again.
offsetSet ( string $offset, mixed $value ) Stub to implement the ArrayAccess interface cleanly
offsetUnset ( string $offset ) Stub to implement the ArrayAccess interface cleanly

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( TemplateImplementation $templateImplementation, string $path, array $partialTypoScriptTree )
$templateImplementation Neos\Fusion\TypoScriptObjects\TemplateImplementation
$path string
$partialTypoScriptTree array

__toString() 공개 메소드

As PHP does not like throwing an exception here, we render any exception using the configured TypoScript exception handler and will also catch and log any exceptions resulting from that as a last resort.
public __toString ( ) : string
리턴 string

count() 공개 메소드

public count ( ) : integer
리턴 integer

getIterator() 공개 메소드

Iterates through all subelements.

objectAccess() 공개 메소드

Evaluates TypoScript objects and eel expressions.
public objectAccess ( ) : FusionPathProxy | mixed
리턴 FusionPathProxy | mixed

offsetExists() 공개 메소드

TRUE if a given subpath exists, FALSE otherwise.
public offsetExists ( string $offset ) : boolean
$offset string
리턴 boolean

offsetGet() 공개 메소드

Return the object at $offset; evaluating simple types right away, and wrapping arrays into ourselves again.
public offsetGet ( string $offset ) : mixed | FusionPathProxy
$offset string
리턴 mixed | FusionPathProxy

offsetSet() 공개 메소드

Stub to implement the ArrayAccess interface cleanly
public offsetSet ( string $offset, mixed $value )
$offset string
$value mixed

offsetUnset() 공개 메소드

Stub to implement the ArrayAccess interface cleanly
public offsetUnset ( string $offset )
$offset string

프로퍼티 상세

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

Reference to the TypoScript Runtime which controls the whole rendering
protected Runtime,Neos\Fusion\Core $fusionRuntime
리턴 Neos\Fusion\Core\Runtime

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

This is a part of the TypoScript tree built when evaluating $this->path.
protected array $partialTypoScriptTree
리턴 array

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

The TypoScript path this object proxies
protected string $path
리턴 string

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

protected SystemLoggerInterface,Neos\Flow\Log $systemLogger
리턴 Neos\Flow\Log\SystemLoggerInterface

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

Reference to the "parent" TypoScript object
protected TemplateImplementation,Neos\Fusion\TypoScriptObjects $templateImplementation
리턴 Neos\Fusion\TypoScriptObjects\TemplateImplementation