Esempio n. 1
0
 /**
  * 删除数据
  * @param  string $datalist 数据集合
  */
 public function Del_Form_Data($vid, $mid)
 {
     $db_form = new DbformModel();
     $tables = $db_form->GetDBFormVid($vid);
     $Model = new Model();
     $tmd = $Model->table($tables['form_table']);
     $result = $tmd->where('id=' . $mid)->delete();
     return $result;
 }
Esempio n. 2
0
 /**
  * 获取所有共享字段
  */
 public function Get_Share()
 {
     $db = new DbformModel();
     return $db->GetShare();
 }