public function IndexAction() { $ps = parent::IndexAction(); #add/modify rows from db foreach ($ps['list_rows'] as $k => $row) { $ps['list_rows'][$k]['demo_dicts'] = $this->model_related->one($row['demo_dicts_id']); } return $ps; }
public function __construct() { parent::__construct(); }
public function __construct() { parent::__construct(); //optionally init controller }