/** * 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'; }
/** * 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'; }