Property | Type | Description | |
---|---|---|---|
$_cache | array | ||
$airship_cabin_prefix | string | ||
$airship_config | array | ||
$airship_csrf | CSRF | ||
$airship_databases | Airship\Engine\Contract\DBInterface[][] | ||
$airship_http_method | string | ||
$airship_lens_object | |||
$airship_lens_override | array |
Method | Description | |
---|---|---|
airshipEjectFromCockpit ( |
Dependency injection aside from the controller. Allows you to write your own constructors. | |
airshipLand ( ) | Overloadable; invoked after airshipEjectFromCockpit() | |
config ( string $search = '' ) : mixed | Get configuration settings | |
resetBaseTemplate ( ) : mixed | ||
setBaseTemplate ( string $name ) : mixed |
Method | Description | |
---|---|---|
addLensFilter ( string $name, callable $func ) | Add a filter to the lens | |
addLensFunction ( string $name, callable $func ) | Add a function to the lens | |
airshipChooseDB ( ) : Airship\Engine\Contract\DBInterface | Choose a database. We don't do anything fancy, but a Gear might decide to do something different. | |
blueprint ( string $name, $cArgs ) : |
Grab a blueprint | |
getLensAsText ( string $name, $cArgs ) : string | Render a Lens as text, return a string | |
getNamespace ( ) : string | Get the name of the current namespace | |
lens ( string $name, $cArgs ) : void | Render a template and terminate execution. Do not cache. | |
lensRender ( string $name, $cArgs ) : string | Render a lens, return its contents, don't exit. | |
overrideLens ( string $oldLens, string $newLens ) | Override a lens with a different lens. (Meant for Gadgets.) | |
post ( InputFilterContainer $filterContainer = null, boolean $ignoreCSRFToken = false ) : array | boolean | Grab post data, but only if the CSRF token is valid | |
setActiveMotif ( string $name ) : boolean | ||
stasis ( string $name, variadic |
Render lens content, cache it, then display it. | |
storeLensVar ( string $name, mixed $value ) : |
Grab a lens |
protected addLensFilter ( string $name, callable $func ) | ||
$name | string | |
$func | callable |
protected addLensFunction ( string $name, callable $func ) | ||
$name | string | |
$func | callable |
protected airshipChooseDB ( ) : Airship\Engine\Contract\DBInterface | ||
return | Airship\Engine\Contract\DBInterface |
final public airshipEjectFromCockpit ( |
||
$lens | ||
$databases | array | |
$urlPrefix | string |
public airshipLand ( ) |
protected getLensAsText ( string $name, $cArgs ) : string | ||
$name | string | |
$cArgs | Constructor arguments | |
return | string |
protected getNamespace ( ) : string | ||
return | string |
protected lensRender ( string $name, $cArgs ) : string | ||
$name | string | |
$cArgs | Constructor arguments | |
return | string |
protected overrideLens ( string $oldLens, string $newLens ) | ||
$oldLens | string | |
$newLens | string |
protected setActiveMotif ( string $name ) : boolean | ||
$name | string | |
return | boolean |
public setBaseTemplate ( string $name ) : mixed | ||
$name | string | |
return | mixed |
protected storeLensVar ( string $name, mixed $value ) : |
||
$name | string | |
$value | mixed | |
return |
protected DBInterface[][],Airship\Engine\Contract $airship_databases | ||
return | Airship\Engine\Contract\DBInterface[][] |
protected Lens,Airship\Engine $airship_lens_object | ||
return |