/** * constructor (registers additional tasks to methods) * @return void */ function __construct() { parent::__construct(); $view =& $this->getView('roomrates'); $model =& $this->getModel('roomrates'); //add translation model $hotelTranslations = $this->getModel('hoteltranslations'); $view->setModel($hotelTranslations); $view->setModel($model, true); $view->display(); }
/** * constructor (registers additional tasks to methods) * @return void */ function __construct() { $view = $this->getView('hoteldescriptions'); $model = $this->getModel('hoteldescriptions'); //add translation model $hotelTranslations = $this->getModel('hoteltranslations'); $view->setModel($hotelTranslations); $view->setModel($model, true); $view->display(); parent::__construct(); }
/** * constructor (registers additional tasks to methods) * @return void */ function __construct() { parent::__construct(); //$this->registerTask( 'cancel' , 'cancel' ); //$this->registerTask( 'save' , 'save' ); }
/** * constructor (registers additional tasks to methods) * @return void */ function __construct() { parent::__construct(); }