コード例 #1
0
ファイル: Questions_model.php プロジェクト: Assem/PMS
 /**
  * Class Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('polls_model');
     $this->table_name = 'questions';
     $this->pk_column = 'id';
     $this->parent_column = 'id_poll';
 }
コード例 #2
0
ファイル: Answers_model.php プロジェクト: Assem/PMS
 /**
  * Class Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('questions_model');
     $this->table_name = 'answers';
     $this->pk_column = 'id';
     $this->parent_column = 'id_question';
 }