| Methods |
protected
|
check_overwrite(string $name, array $list, string $type, mixed $value): bool
Parameters
| $name |
name to check for
|
| $list |
array to look for name in
|
| $value |
value
|
|
#
|
public
|
out(string $name, mixed $value, bool $protected = true): bool
Add a name value pair to the output array
Add a name value pair to the output array
Parameters
| $name |
name of value to store
|
| $value |
value
|
| $protected |
true disallows overwriting
|
Returns
|
#
|
public
|
append(string $name, string $value): bool
append a value to an array, create it if does not exist
append a value to an array, create it if does not exist
Parameters
| $name |
array name
|
| $value |
value to add
|
Returns
|
#
|
public
|
html_safe(string $string, bool $special_only = false): string
Sanitize input string
Parameters
| $string |
text to sanitize
|
| $special_only |
only use htmlspecialchars not htmlentities
|
Returns
|
#
|
public
|
concat(string $name, string $value): bool
Concatenate a value
Parameters
| $name |
name to add to
|
| $value |
value to add
|
Returns
|
#
|
public
|
module_output(): array
Return module output from process()
Return module output from process()
|
#
|
public
|
output_protected(): array
Return protected output field list
Return protected output field list
|
#
|
public
|
get(string $name, mixed $default = null, string $typed = true): mixed
Fetch an output value
Parameters
| $name |
key to fetch the value for
|
| $default |
default return value if not found
|
| $typed |
if a default value is given, typecast the result to it's type
|
Returns
value if found or default
|
#
|
public
|
exists(string $name): bool
Check for a key
|
#
|
public
|
in(string $name, array $values): bool
Check to see if a value matches a list
Check to see if a value matches a list
Parameters
| $name |
name to check
|
| $values |
list to check against
|
Returns
|
#
|