Ejemplo n.º 1
0
 public function actionPosition()
 {
     $model = new Partjob();
     $result['list'] = $model->find();
     $model = new Type();
     $result["type"] = $model->find();
     $model = new Jobcompany();
     $result["company"] = $model->find();
     return $this->render('/business-store/position', $result);
 }
Ejemplo n.º 2
0
 public function signup($name, $id)
 {
     $model = Partjob::find()->where(["partjob_id" => $name])->one();
     $model->partjob_number = $id;
     $res = $model->save();
     return $res;
 }