PHP Class Neos\Fusion\TypoScriptObjects\AbstractTypoScriptObject

Inheritance: implements ArrayAccess
Afficher le fichier Open project: neos/neos-development-collection

Protected Properties

Свойство Type Description
$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

Méthodes publiques

Méthode Description
__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.

Méthodes protégées

Méthode Description
tsValue ( string $path ) : mixed Return the TypoScript value relative to this TypoScript object (with processors etc applied).

Method Details

__construct() public méthode

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

evaluate() abstract public méthode

Evaluate this TypoScript object and return the result
abstract public evaluate ( ) : mixed
Résultat mixed

getTsRuntime() public méthode

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

offsetExists() public méthode

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

offsetGet() public méthode

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

offsetSet() public méthode

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

offsetUnset() public méthode

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

tsValue() protected méthode

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
Résultat mixed

Property Details

$path protected_oe property

The TypoScript path currently being rendered
protected string $path
Résultat string

$tsRuntime protected_oe property

protected Runtime,Neos\Fusion\Core $tsRuntime
Résultat Neos\Fusion\Core\Runtime

$tsValueCache protected_oe property

protected array $tsValueCache
Résultat array

$typoScriptObjectName protected_oe property

Name of this TypoScript object, like Neos.Neos:Text
protected string $typoScriptObjectName
Résultat string