w3schoon Posted March 12, 2013 Share Posted March 12, 2013 Nice be with you everyone! I'm a beginner in CodeIgniter framework and I'm really interested to explore its classes, methods, properties, etc... May I know what is the usage of CI_Controller, load, helper, library, form,_validation, run & view ? I found these here... <?phpclass Form extends CI_Controller {function index(){ $this->load->helper(array('form', 'url')); $this->load->library('form_validation'); if ($this->form_validation->run() == FALSE) { $this->load->view('myform'); } else { $this->load->view('formsuccess'); }}}?> Thanks in advance! Link to comment Share on other sites More sharing options...
birbal Posted March 12, 2013 Share Posted March 12, 2013 it is the components of MVC framework. there is plenty of resource if you google about model-view-controller. It is mainly used to keep seperate the data and visual layer. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now