public function prepareData() { $run = new model_dw_mymodel(); return $run->create(); }
public function run() { $run = new model_dw_mymodel(); $data['haha'] = $run->create(); $this->renderHtml($data); }