PHP Класс Zephir\Statements\Let\ObjectPropertyArrayIndex

Updates object properties dynamically
Наследование: extends ArrayIndex
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
assign ( string $variable, Variable $symbolVariable, Zephir\CompiledExpression $resolvedExpr, Zephir\CompilationContext $compilationContext, array $statement ) Compiles x->y[z] = foo

Защищенные методы

Метод Описание
_assignPropertyArrayMultipleIndex ( string $variable, Variable $symbolVariable, Zephir\CompiledExpression $resolvedExpr, Zephir\CompilationContext $compilationContext, array $statement ) Compiles x->y[a][b] = {expr} (multiple offset assignment)
_assignPropertyArraySingleIndex ( string $variable, Variable $symbolVariable, Zephir\CompiledExpression $resolvedExpr, Zephir\CompilationContext $compilationContext, array $statement ) Compiles x->y[z] = {expr} (single offset assignment)

Описание методов

_assignPropertyArrayMultipleIndex() защищенный Метод

Compiles x->y[a][b] = {expr} (multiple offset assignment)
protected _assignPropertyArrayMultipleIndex ( string $variable, Variable $symbolVariable, Zephir\CompiledExpression $resolvedExpr, Zephir\CompilationContext $compilationContext, array $statement )
$variable string
$symbolVariable Zephir\Variable
$resolvedExpr Zephir\CompiledExpression
$compilationContext Zephir\CompilationContext
$statement array

_assignPropertyArraySingleIndex() защищенный Метод

Compiles x->y[z] = {expr} (single offset assignment)
protected _assignPropertyArraySingleIndex ( string $variable, Variable $symbolVariable, Zephir\CompiledExpression $resolvedExpr, Zephir\CompilationContext $compilationContext, array $statement )
$variable string
$symbolVariable Zephir\Variable
$resolvedExpr Zephir\CompiledExpression
$compilationContext Zephir\CompilationContext
$statement array

assign() публичный Метод

Compiles x->y[z] = foo
public assign ( string $variable, Variable $symbolVariable, Zephir\CompiledExpression $resolvedExpr, Zephir\CompilationContext $compilationContext, array $statement )
$variable string
$symbolVariable Zephir\Variable
$resolvedExpr Zephir\CompiledExpression
$compilationContext Zephir\CompilationContext
$statement array