PHP 클래스 Neos\Fusion\TypoScriptObjects\AbstractTypoScriptObject

상속: implements ArrayAccess
파일 보기 프로젝트 열기: neos/neos-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$path string The TypoScript path currently being rendered
$tsRuntime Neos\Fusion\Core\Runtime
$tsValueCache array
$typoScriptObjectName string Name of this TypoScript object, like Neos.Neos:Text

공개 메소드들

메소드 설명
__construct ( Runtime $tsRuntime, string $path, string $typoScriptObjectName ) Constructor
evaluate ( ) : mixed Evaluate this TypoScript object and return the result
getTsRuntime ( ) : Runtime Get the TypoScript runtime this object was created in.
offsetExists ( mixed $offset ) : boolean Dummy implementation of ArrayAccess to allow this.XXX access in processors.
offsetGet ( mixed $offset ) : mixed Dummy implementation of ArrayAccess to allow this.XXX access in processors.
offsetSet ( mixed $offset, mixed $value ) : void Dummy implementation of ArrayAccess to allow this.XXX access in processors.
offsetUnset ( mixed $offset ) : void Dummy implementation of ArrayAccess to allow this.XXX access in processors.

보호된 메소드들

메소드 설명
tsValue ( string $path ) : mixed Return the TypoScript value relative to this TypoScript object (with processors etc applied).

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( Runtime $tsRuntime, string $path, string $typoScriptObjectName )
$tsRuntime Neos\Fusion\Core\Runtime
$path string
$typoScriptObjectName string

evaluate() 추상적인 공개 메소드

Evaluate this TypoScript object and return the result
abstract public evaluate ( ) : mixed
리턴 mixed

getTsRuntime() 공개 메소드

Get the TypoScript runtime this object was created in.
public getTsRuntime ( ) : Runtime
리턴 Neos\Fusion\Core\Runtime

offsetExists() 공개 메소드

Dummy implementation of ArrayAccess to allow this.XXX access in processors.
public offsetExists ( mixed $offset ) : boolean
$offset mixed
리턴 boolean

offsetGet() 공개 메소드

Dummy implementation of ArrayAccess to allow this.XXX access in processors.
public offsetGet ( mixed $offset ) : mixed
$offset mixed
리턴 mixed

offsetSet() 공개 메소드

Dummy implementation of ArrayAccess to allow this.XXX access in processors.
public offsetSet ( mixed $offset, mixed $value ) : void
$offset mixed
$value mixed
리턴 void

offsetUnset() 공개 메소드

Dummy implementation of ArrayAccess to allow this.XXX access in processors.
public offsetUnset ( mixed $offset ) : void
$offset mixed
리턴 void

tsValue() 보호된 메소드

Note that subsequent calls of tsValue() with the same TypoScript path will return the same values since the first evaluated value will be cached in memory.
protected tsValue ( string $path ) : mixed
$path string
리턴 mixed

프로퍼티 상세

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

The TypoScript path currently being rendered
protected string $path
리턴 string

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

protected Runtime,Neos\Fusion\Core $tsRuntime
리턴 Neos\Fusion\Core\Runtime

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

protected array $tsValueCache
리턴 array

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

Name of this TypoScript object, like Neos.Neos:Text
protected string $typoScriptObjectName
리턴 string