protected function getRootType() { if ($this->root_type) { return $this->root_type; } else { return parent::getRootType(); } }
protected function getRootType() { if ($this->configNodes['/']->hasAttribute('config')) { return $this->configNodes['/']->getAttribute('config'); } else { return parent::getRootType(); } }