/** * Change the Section value from the internal object elements * * @param string $psSectionName * @param string $psParentId * @return Onion\Application\Action */ public function replaceSection($psSectionName = "", $psParentId = "") { parent::_replaceSection('_options', $psSectionName, $psParentId); parent::_replaceSection('_grid', $psSectionName, $psParentId); parent::_replaceSection('_filter', $psSectionName, $psParentId); return $this; }
/** * Change the Section value from the internal object elements * * @param string $psSectionName * @param string $psParentId * @return Onion\Application\Module */ public function replaceSection($psSectionName = "", $psParentId = "") { return parent::_replaceSection('_controllers', $psSectionName, $this->_id); }
/** * Change the Section value from the internal object elements * * @param string $psSectionName * @param string $psParentId * @return Onion\Application\Section */ public function replaceSection($psSectionName = "", $psParentId = "") { return parent::_replaceSection('_modules', $this->_id, $this->_id); }