/** * @inheritdoc */ public function addChild($parent, $child) { $this->loadItems(); $this->loadChildren(); parent::addChild($parent, $child); $this->_children[$parent->name][] = $child->name; $this->invalidate(self::PART_CHILDREN); return true; }
/** * @inheritdoc */ public function addChild($parent, $child) { $this->loadItems(); $this->loadChildren(); parent::addChild($parent, $child); $this->_children[$parent->name][] = $child->name; $this->invalidate(self::PART_CHILDREN); return true; }