예제 #1
0
 /**
  * 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';
 }