Function fuel
Return all Fuel, or specified ProcessWire API variable, or NULL if it doesn't exist.
Same as Wire::getFuel($name) and Wire::getAllFuel(); When a $name is specified, this function is identical to the wire() function. Both functions exist more for consistent naming depending on usage.
Located at core/Functions.php
string
|
$name = '' |
If ommitted, returns a Fuel object with references to all the fuel. |
mixed
|
Fuel value if available, NULL if not. |