PHP Class ContainerArray

Inheritance: implements ArrayAccess, implements Countable, implements IteratorAggregate, implements JsonSerializable
Show file Open project: sjardim/Hugopit

Protected Properties

Property Type Description
$bindTo
$props

Public Methods

Method Description
__call ( $name, $arguments )
__construct ( $array = [], $bindTo = null )
__get ( $name )
__isset ( $name )
__set ( $name, $value )
__unset ( $name )
count ( )
extend ( )
extract ( $path ) CakePHP(tm) : Rapid Development Framework (http://cakephp.org) Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
get ( $key, $default = null )
getIterator ( )
offsetExists ( $key )
offsetGet ( $key )
offsetSet ( $key, $value ) Array Access implementation
offsetUnset ( $key )

Protected Methods

Method Description
_matchToken ( $key, $token )
_matches ( array $data, $selector )
_splitConditions ( $token )
_tokenize ( $data, $separator = ',', $leftBound = '(', $rightBound = ')' )
fetch_from_array ( $index = null, $default = null )

Method Details

__call() public method

public __call ( $name, $arguments )

__construct() public method

public __construct ( $array = [], $bindTo = null )

__get() public method

public __get ( $name )

__isset() public method

public __isset ( $name )

__set() public method

public __set ( $name, $value )

__unset() public method

public __unset ( $name )

_matchToken() protected method

protected _matchToken ( $key, $token )

_matches() protected method

protected _matches ( array $data, $selector )
$data array

_splitConditions() protected method

protected _splitConditions ( $token )

_tokenize() protected method

protected _tokenize ( $data, $separator = ',', $leftBound = '(', $rightBound = ')' )

count() public method

public count ( )

extend() public method

public extend ( )

extract() public method

Source: Utility/Hash.php
public extract ( $path )

fetch_from_array() protected method

protected fetch_from_array ( $index = null, $default = null )

get() public method

public get ( $key, $default = null )

getIterator() public method

public getIterator ( )

offsetExists() public method

public offsetExists ( $key )

offsetGet() public method

public offsetGet ( $key )

offsetSet() public method

Array Access implementation
public offsetSet ( $key, $value )

offsetUnset() public method

public offsetUnset ( $key )

Property Details

$bindTo protected property

protected $bindTo

$props protected property

protected $props