PHP Class eZ\Publish\Core\REST\Common\Output\Generator\Json\ArrayObject

Special JSON array object implementation, which allows to access the parent object it is assigned to again.
Inheritance: extends ArrayObject
Show file Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$_ref_parent Object Reference to the parent node.

Public Methods

Method Description
__construct ( mixed $_ref_parent ) Construct from optional parent node.
getParent ( ) : Object Get Parent of current node.

Method Details

__construct() public method

Construct from optional parent node.
public __construct ( mixed $_ref_parent )
$_ref_parent mixed

getParent() public method

Get Parent of current node.
public getParent ( ) : Object
return Object

Property Details

$_ref_parent protected property

Reference to the parent node.
protected Object,eZ\Publish\Core\REST\Common\Output\Generator\Json $_ref_parent
return Object