/** * __construct function. * * @access public */ function __construct() { parent::__construct(); // $this->load->add_package_path(MODPATH . 'oauth'); // $this->load->helper('url'); // $this->load->library('session'); // $this->load->database(); // $this->load->helper('form'); $this->load->library('oauth_server'); // Initialise a session item to keep IE happy $this->session->set_userdata('init', uniqid()); }
function __construct() { parent::__construct(); $this->_validation = array('add' => array('name' => array('required|callback__check_module_name|callback__check_table_name'), 'controller_base_class' => array('required'), 'model_base_class' => array('required'))); }
function __construct() { parent::__construct(); $this->_validation = array('add' => array(array('field' => 'name', 'label' => l('Name'), 'rules' => 'required|callback__check_module_name|callback__check_table_name'), array('field' => 'controller_base_class', 'label' => l('Controller Base Class'), 'rules' => 'required'), array('field' => 'model_base_class', 'label' => l('Model Base Class'), 'rules' => 'required'))); }
function __construct() { parent::__construct(); $this->load->helper(array('xform')); }