Beispiel #1
0
 public function add()
 {
     $this->loadModel('admin/flink/flinkg', 'flinkg');
     $flinkg = $this->flinkg->search(FALSE);
     $this->setData('flinkg', $flinkg);
     parent::add();
 }
Beispiel #2
0
 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();
 }
Beispiel #3
0
 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();
 }
Beispiel #4
0
 public function add()
 {
     $this->setData('moduleType', $this->moduleType);
     parent::add();
 }
Beispiel #5
0
 public function add()
 {
     $ugroup = $this->userg->search(FALSE);
     $this->setData('ugroup', $ugroup);
     parent::add();
 }
Beispiel #6
0
 public function add()
 {
     parent::add();
 }