Property | Type | Description | |
---|---|---|---|
$_fuel | Fuel | null | This will replace the static $fuel from the Wire class in PW 3.0. Currently it is just here as a placeholder. | |
$debug | boolean | Whether debug mode is on or off | |
$pathSave | string | Saved path, for includeFile() method | |
$updater | SystemUpdater | null |
Method | Description | |
---|---|---|
__call ( $method, $arguments ) | ||
__construct ( Config $config ) | Given a Config object, instantiates ProcessWire and it's API | |
__toString ( ) | ||
load ( Config $config ) | Load's ProcessWire using the supplied Config and populates all API fuel | |
set ( $key, $value, boolean $lock = false ) | Set a new API variable | |
setStatus ( $status ) | Set the system status to one of the ProcessWire::status* constants |
Method | Description | |
---|---|---|
___finished ( ) | Hookable ready for anyone that wants to hook when the request is finished | |
___init ( ) | Hookable init for anyone that wants to hook immediately before any autoload modules initialized or after all modules initialized | |
___ready ( ) | Hookable ready for anyone that wants to hook immediately before any autoload modules ready or after all modules ready | |
config ( Config $config ) | Populate ProcessWire's configuration with runtime and optional variables | |
getHttpHost ( Config $config ) : string | Safely determine the HTTP host | |
includeFile ( $file ) : boolean | Include a PHP file, giving it all PW API varibles in scope | |
initVar ( string $name, Wire $value ) | Initialize the given API var |
protected ___finished ( ) |
protected ___init ( ) |
protected ___ready ( ) |
public __construct ( Config $config ) | ||
$config | Config |
protected getHttpHost ( Config $config ) : string | ||
$config | Config | |
return | string |
protected includeFile ( $file ) : boolean | ||
$file | Full path and filename | |
return | boolean | True if file existed and was included, false if not. |
public load ( Config $config ) | ||
$config | Config |
public setStatus ( $status ) | ||
$status |
protected Fuel|null $_fuel | ||
return | Fuel | null |
protected string $pathSave | ||
return | string |