프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_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 |
메소드 | 설명 | |
---|---|---|
__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 |
메소드 | 설명 | |
---|---|---|
___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 | |
리턴 | string |
protected includeFile ( $file ) : boolean | ||
$file | Full path and filename | |
리턴 | 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 | ||
리턴 | Fuel | null |