Class MultipleAdapter
A Multiple adapter maps a scalar value to multiple keys or props through a "reader" and a "writer" callback function.
The reader function is mandatory, the writer is optional. If you set to NULL the writer callback you get a read-only adapter, but save() still records the modified state.
NOTE: If the adapter has an empty set of serializers the reader function will still be called with no arguments.
- Nethgui\Adapter\MultipleAdapter implements Nethgui\Adapter\AdapterInterface
Namespace: Nethgui\Adapter
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
Api
Located at Adapter/MultipleAdapter.php
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
Api
Located at Adapter/MultipleAdapter.php
public
|
#
__construct( callable $readerCallback, callable $writerCallback = NULL, array $serializers = array() )
|
public
mixed
|
|
public
|
|
public
|
|
public
bool;
|
|
public
boolean
|