\TriTan\Interfaces\OptionsOptionsMapperInterface

Summary

Methods
Constants
create()
read()
update()
delete()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

create()

create(  $name,   $value = '') 

Add an option to the options document.

Parameters

$name
$value

read()

read(  $option_key,   $default = false) 

Read an option from the options document.

Return value or $default if not found

Parameters

$option_key
$default

update()

update(  $option_key,   $newvalue) 

Update (add if doesn't exist) an option to options_meta

Parameters

$option_key
$newvalue

delete()

delete(  $name) 

Delete an option from the options document.

Parameters

$name