PHP Class Resources\Controller

Mostra file Open project: panada/panada Class Usage Examples

Public Properties

Property Type Description
$config

Public Methods

Method Description
__construct ( )
__get ( $class )
location ( $location = '' )
output ( $panadaViewfile, $data = [] )
outputError ( $file, $data = [] )
outputJSON ( $data )
outputXML ( $data )
redirect ( $location = '', $status = 302 )

Private Methods

Method Description
outputTransporter ( $data, $type )

Method Details

__construct() public method

public __construct ( )

__get() public method

public __get ( $class )

location() public method

public location ( $location = '' )

output() public method

public output ( $panadaViewfile, $data = [] )

outputError() public static method

public static outputError ( $file, $data = [] )

outputJSON() public method

public outputJSON ( $data )

outputXML() public method

public outputXML ( $data )

redirect() public method

public redirect ( $location = '', $status = 302 )

Property Details

$config public_oe property

public $config