PHP 클래스 Zephir\Statements\Let\ObjectPropertyArrayIndex

Updates object properties dynamically
상속: extends ArrayIndex
파일 보기 프로젝트 열기: phalcon/zephir 1 사용 예제들

공개 메소드들

메소드 설명
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