function offsetExists($name) { if (parent::offsetExists($name) || $this->filter->match($name)) { return true; } return false; }
function offsetSet($key, $value) { if ($this->isStronglyTyped() && !$value instanceof $this->_type) { throw new \Core\Exception('DataArray does not accept items of type: ' . get_class($value)); } parent::offsetSet($key, $value); }
function offsetUnset($offset) { parent::offsetUnset($offset); if ($this->Parameters->exists('hash')) { $offset = $this->hash($offset); } $this->remove($offset); }
function __construct($name = null, array $attributes = null, Node $parent = null) { parent::__construct(); if (is_string($name)) { $this->setName($name); } if ($parent instanceof Node) { $parent->_children->add($this); } if (is_array($attributes)) { $this->setAttributes($attributes); } }
public function offsetUnset($offset) { $this->dirty(); parent::offsetUnset($offset); }
function insert($key, $value) { parent::insert($this->hash($key), $value); }
function __construct(\IO\Context $context) { $this->setContext($context); parent::__construct(); }