scbOptions
Container for an array of options.
Package
Description Description
Methods Methods
- __construct — Create a new set of options.
- __get — Magic method: $options->field
- __isset — Magic method: isset( $options->field )
- __set — Magic method: $options->field = $value
- _activation — Saves an extra query.
- _clean — Keep only the keys defined in $this->defaults
- _get
- cleanup — Remove any keys that are not in the defaults array.
- delete — Delete the option.
- get — Get option values for one or all fields.
- get_defaults — Get default values for one or all fields.
- get_key — Returns option name.
- reset — Reset option to defaults.
- set — Set all data fields, certain fields or a single field.
- update — Update raw data.