[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/lessphp/ -> Configurable.php (summary)

Configurable

File Size: 69 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  setOptions()
  getOption()
  setOption()

Functions
Functions that are not part of a class:

setOptions($options)   X-Ref
Set options

If $options is an object it will be converted into an array by called
it's toArray method.

param: array|object $options

getOption($name, $default = null)   X-Ref
Get an option value by name

If the option is empty or not set a NULL value will be returned.

param: string $name
param: mixed $default Default value if confiuration of $name is not present
return: mixed

setOption($name, $value)   X-Ref
Set an option

param: string $name
param: mixed $value



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1