PHP Class Behavior, spaghettiphp

Mostra file Open project: spaghettiphp/spaghettiphp Class Usage Examples

Protected Properties

Property Type Description
$actions
$defaults
$filters
$model
$options

Public Methods

Method Description
__construct ( $model, $options = [] )
load ( $name )
registerAction ( $name, $method = null )
registerFilter ( $name, $method = null )

Protected Methods

Method Description
options ( $options )
register ( $type, $name, $method = null )

Method Details

__construct() public method

public __construct ( $model, $options = [] )

load() public static method

public static load ( $name )

options() protected method

protected options ( $options )

register() protected method

protected register ( $type, $name, $method = null )

registerAction() public method

public registerAction ( $name, $method = null )

registerFilter() public method

public registerFilter ( $name, $method = null )

Property Details

$actions protected_oe property

protected $actions

$defaults protected_oe property

protected $defaults

$filters protected_oe property

protected $filters

$model protected_oe property

protected $model

$options protected_oe property

protected $options