PHP Class Basecoat\Basecoat

Mostra file Open project: shutterstock/basecoat

Public Properties

Property Type Description
$content
$db Default instance of Database class
$headers Headers to include in the output
$hooks
$messages Default instance of Messages class
$routing Class holders
$view

Public Methods

Method Description
__construct ( )
addAfterRender ( $func )
addBeforeRender ( $func )
clearAfterRender ( )
clearBeforeRender ( )
loadDb ( $settings, $master_id, $slave_id )
processHooks ( $hook )
processRequest ( $url = null )
render ( )
sendHeaders ( $headers = [] )
setCacheHeaders ( $expires )

Method Details

__construct() public method

public __construct ( )

addAfterRender() public method

public addAfterRender ( $func )

addBeforeRender() public method

public addBeforeRender ( $func )

clearAfterRender() public method

public clearAfterRender ( )

clearBeforeRender() public method

public clearBeforeRender ( )

loadDb() public method

public loadDb ( $settings, $master_id, $slave_id )

processHooks() public method

public processHooks ( $hook )

processRequest() public method

public processRequest ( $url = null )

render() public method

public render ( )

sendHeaders() public method

public sendHeaders ( $headers = [] )

setCacheHeaders() public method

public setCacheHeaders ( $expires )

Property Details

$content public_oe property

public $content

$db public_oe property

Default instance of Database class
public $db

$headers public_oe property

Headers to include in the output
public $headers

$hooks public_oe property

public $hooks

$messages public_oe property

Default instance of Messages class
public $messages

$routing public_oe property

Class holders
public $routing

$view public_oe property

public $view