\AppController

Class Controller

Summary

Methods
Properties
Constants
__construct()
view()
redirect()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() : 

Returns

view()

view( view,   data = array(),  string = null,  path = VIEWS_PATH,  template) : 

Parameters

view
data

Calls the view from within a controller

string
path
template

Returns

redirect()

redirect( location,  flash_msg = array()) : 

Parameters

location
flash_msg

= (array) sets a session with a message in it, can be called with show_flash_msg(); helper. example array('class' => 'alert alert-success', 'msg' => 'Hello World') Wrapper for redirect

Returns