Overview

Namespaces

  • Knot
    • Dict
      • Helpers
    • Exceptions
  • None

Classes

  • AbstractDictBody
  • ChildDict
  • HelperManager
  • ParentDict

Traits

  • ArrayAccessTrait
  • CountableTrait
  • IteratorAggregateTrait
  • PathOperationsTrait
  • Overview
  • Namespace
  • Class

Class AbstractDictBody

PHP ArrayEqualHelper methods

Knot\Dict\AbstractDictBody implements Knot\Dict\Arrayaccess, Countable, IteratorAggregate uses Knot\Dict\ArrayAccessTrait, Knot\Dict\CountableTrait, Knot\Dict\IteratorAggregateTrait, Knot\Dict\PathOperationsTrait

Direct known subclasses

Knot\Dict

Indirect known subclasses

Knot\Dict\ChildDict, Knot\Dict\ParentDict
Abstract
Namespace: Knot\Dict
Located at Knot/Dict/AbstractDictBody.php
Methods summary
abstract public Knot\Dict\AbstractDictBody
# kill( )

Returns

Knot\Dict\AbstractDictBody
public
# __construct( array & $data, Knot\Dict\AbstractDictBody $parent = null, $path = '' )

Parameters

$data
$parent
$path
public
# __set( $key, $value )

Parameters

$key
$value
public mixed|Knot\Dict\ChildDict &
# __get( string|integer $key )

Parameters

$key

Returns

mixed|Knot\Dict\ChildDict

Throws

Exception
public mixed
# call( string $method, array $arguments = [ ] )

Call callable data variable.

Call callable data variable.

Parameters

$method
$arguments

Returns

mixed

Throws

Exception
public
# __call( string $method, array $arguments = [ ] )

Function list: Helper Libraries!

Function list: Helper Libraries!

Parameters

$method
$arguments

Returns


$this|mixed

Throws

Exception|Knot\Exceptions\WrongFunctionException
public boolean
# __isset( mixed $key )

Parameters

$key

Returns

boolean
public
# __unset( mixed $key )

Parameters

$key
public mixed
# __invoke( $path )

Easy Access for get function!

Easy Access for get function!

Parameters

$path

Returns

mixed
public boolean
# keyExists( mixed $key )

Only search own data keys.

Only search own data keys.

Parameters

$key

Returns

boolean
public Knot\Dict\HelperManager
# getHelperManager( )

Returns

Knot\Dict\HelperManager
public integer|string
# lastKey( )

Returns

integer|string
public array &
# toArray( )

Returns

array
public Knot\Dict\ParentDict
# copy( )

Returns

Knot\Dict\ParentDict
public
# childParent( )

Returns


$this
Methods inherited from Countable
count()
Methods inherited from IteratorAggregate
getIterator()
Methods used from Knot\Dict\ArrayAccessTrait
offsetExists(), offsetGet(), offsetSet(), offsetUnset()
Methods used from Knot\Dict\CountableTrait
count()
Methods used from Knot\Dict\IteratorAggregateTrait
getIterator()
Methods used from Knot\Dict\PathOperationsTrait
del(), get(), getOnly(), isPath(), path(), pathCombiner(), pathParser(), set()
Magic methods summary
public mixed
# shift( )

Returns

mixed
public mixed
# unshift( )

Returns

mixed
public mixed
# push( )

Returns

mixed
Properties summary
protected array $data

Knot data.

Knot data.

#
protected Knot\Dict\AbstractDictBody $parentArray
#
protected string $path
# ''
Properties used from Knot\Dict\PathOperationsTrait
$ARRAY_PATH_DELIMITER
API documentation generated by ApiGen