PHP Class Zephir\Statements\Let\ObjectPropertyArrayIndex

Updates object properties dynamically
Inheritance: extends ArrayIndex
Afficher le fichier Open project: phalcon/zephir Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode Description
_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)

Method Details

_assignPropertyArrayMultipleIndex() protected méthode

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() protected méthode

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() public méthode

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