public function add() { $this->loadModel('admin/flink/flinkg', 'flinkg'); $flinkg = $this->flinkg->search(FALSE); $this->setData('flinkg', $flinkg); parent::add(); }
public function add() { $areaId = $this->getData('area_id'); $area = $this->adarea->fields('area_id,area_type')->find($areaId); $this->setData('areaId', $areaId); $this->setData('areaType', $area['area_type']); parent::add(); }
public function add() { $pid = $this->getData('pid'); $pmodelId['model_id'] = 0; if ($pid > 0) { $pmodelId = $this->bindModel->fields('model_id')->find("cate_id = " . $pid, true); } //print_r($pmodelId); $this->setData('pmodel', $pmodelId['model_id']); $this->setData('pid', $pid); parent::add(); }
public function add() { $this->setData('moduleType', $this->moduleType); parent::add(); }
public function add() { $ugroup = $this->userg->search(FALSE); $this->setData('ugroup', $ugroup); parent::add(); }
public function add() { parent::add(); }