PHP Class Common\Core\Init

Author: Ghazi Triki ([email protected])
Inheritance: extends KernelLoader
Show file Open project: forkcms/forkcms Class Usage Examples

Protected Properties

Property Type Description
$allowedTypes array Allowed types
$type string Current type

Public Methods

Method Description
initialize ( string $type )

Method Details

initialize() public method

public initialize ( string $type )
$type string The type of init to load, possible values are: frontend, frontend_ajax, frontend_js.

Property Details

$allowedTypes protected property

Allowed types
protected array $allowedTypes
return array

$type protected property

Current type
protected string $type
return string