-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Mathieu Nayrolles edited this page Jan 20, 2016
·
2 revisions
Specialisation of CI_Controller that provided some additional services
- headerdata
- login gestion
- post data check
- logging
This class object is the super class that every library in CodeIgniter will be assigned to.
- Class name: Home
- Namespace:
- Parent class: MY_Controller
private mixed $viewName = "home/home"
- Visibility: private
protected mixed $_headerData = array()
- Visibility: protected
protected mixed $_bodyData = array()
- Visibility: protected
protected mixed $_footerData = array()
- Visibility: protected
protected mixed $_needLoggedIn = false
- Visibility: protected
private object $instance
Reference to the CI singleton
- Visibility: private
- This property is static.
void CI_Controller::__construct()
Class constructor
- Visibility: public
- This method is defined by CI_Controller
mixed Home::index()
- Visibility: public
mixed Home::result()
- Visibility: public
mixed Home::homeMessage()
- Visibility: private
mixed Home::logout()
- Visibility: public
mixed Home::resetPassword($resetToken)
- Visibility: public
- $resetToken mixed
mixed Home::signupEmail()
- Visibility: public
mixed Home::about()
- Visibility: public
mixed Home::contact()
- Visibility: public
Boolean MY_Controller::expectsPost(Array $postNames)
Convenient method to check that variables have been posted.
In addition, all the variables contained in $postNames are copied in this. So you can access it by $this->myPostVariable.
- Visibility: protected
- This method is defined by MY_Controller
- $postNames Array - <p>name of the variables expected to be posted</p>
mixed MY_Controller::_remap(String $method, Array $params)
Intercepts all method call on controller in order to provide logging capabilities.
- Visibility: public
- This method is defined by MY_Controller
- $method String - <p>the method name</p>
- $params Array - <p>An array of get parameters (segments following the method segment)</p>
object CI_Controller::get_instance()
Get the CI singleton
- Visibility: public
- This method is static.
- This method is defined by CI_Controller