PHP Класс Neos\Fusion\TypoScriptObjects\AbstractTypoScriptObject

Наследование: implements ArrayAccess
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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