Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Habari
ControlStorage
__construct
Habari\ControlStorage::__construct PHP Method
ControlStorage Class Documentation
Show file
Open project: habari/system
__construct()
public
method
Construct a basic FormStorage object
public
__construct
(
Callable |
string
$load
,
$save
)
$load
Callable |
string
A function to call to load the control value, OR a non-callable
$save
public function __construct($load, $save) { $this->loader = $load; $this->saver = $save; }
ControlStorage
__construct
field_load
field_save
from_object_parameter
from_storage_string