|
API
Influx API's explained
Phase-Implementation ControllerVariables
Default is true
Default is default
Methods
Occurs after the action has been processed (and before autorendering)
Occurs before processing the desired action
Called when a method is missing (not callable)It's important to notice that all the controller parameters (form data, action, argv) are already set at this point
May be called explicitly to render an action.Note: after an action is rendered $this->autoRender is set to false (you shouldn't need to render two actions on the same run)
Sets $name so the view can access it. Helper Functions
Inserts a link to a css file ($file is into /app/html)
Inserts an image tag (
Returns true if this in an AJAX request
Inserts a script tag ($file is into /app/html)
Loads a file from APP/lib
Redirects the user to another controller/action.$to is the URL to go to, in the controller/action/parameters form
Returns the right url for the controller/action passed$to is the URL to go to, in the controller/action/parameters formFor example, one might use
Reads or writes to the session$name Is the name of the variable to store, $value is the value for that variable, if empty returns the variable's valueFor example |
► Sign in to add a comment