/** * Show the page and its child */ public function show() { $child = parent::get_child(); if ($child) { $child->show(); } parent::show_all(); }
/** * Show the Frame */ public function show() { if (parent::get_child()) { // show child object parent::get_child()->show(); } parent::show_all(); }
/** * Show the page and its child */ public function show() { if (!$this->constructed) { throw new Exception(TAdiantiCoreTranslator::translate('You must call ^1 constructor', __CLASS__)); } $child = parent::get_child(); if ($child) { $child->show(); } parent::show_all(); }
/** * Shows the form at the screen */ public function show() { /* Não é possível, pois pode ter uma IF (Designer) somente com datagrid if (count($this->fields) == 0) { throw new Exception(TAdiantiCoreTranslator::translate('Use the addField() or setFields() to define the form fields')); } */ $child = parent::get_child(); if ($child) { $child->show(); } parent::show_all(); }