models / clientstorage_model.php
ClientStorageModel
Model
Stores client settings data to be used in such situations as reloading a page and showing the same selections. DEPRECATED.
public
get
(
args = []
)
public
get
(
args = []
)
Retrieve client storage data.
Parameters
client_name |
|
user_id |
Returns
data
public
store
(
args = []
)
public
store
(
args = []
)
Store data in client storage. This can update pre-existing data or insert new values.
Parameters
user_id |
|
client_name |
|
data |
public
validate
(
args = []
)
public
validate
(
args = []
)
Validate data before storing. Make sure the data contains a client name, actual data, and a valid user ID.
Parameters
user_id |
|
client_name |
|
data |
Returns
status