Class ModuleClientMeta
Module Client Meta
Allows read/write data containing module or module row specific data for a particular client.
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at app/models/module_client_meta.php
Methods summary
public
|
#
set( integer $client_id, integer $module_id, integer $module_row_id = 0, array $fields = array() )
Add or update module meta data for a particular client and module |
public
mixed
|
#
get( integer $client_id, string $key, integer $module_id, integer $module_row_id = 0 )
Fetch a specific meta field |
public
array
|
#
getAll( integer $client_id, integer $module_id, integer $module_row_id = 0 )
Fetches all meta fields for a client |
public
|
#
delete( integer $client_id, string $key, integer $module_id, integer $module_row_id = 0 )
Delete a specific entry for a client and module |
public
|
#
deleteAll( integer $client_id, integer $module_id, integer $module_row_id = 0 )
Deletes all meta fields for a client and module |
Methods inherited from AppModel
_()
,
__construct()
,
boolToInt()
,
currencyToDecimal()
,
dateToUtc()
,
errors()
,
getPerPage()
,
ifSet()
,
loadCrypto()
,
setDefaultIfEmpty()
,
setPerPage()
,
setRulesIfSet()
,
strToBool()
,
systemDecrypt()
,
systemEncrypt()
,
systemHash()
,
truncateDecimal()
,
validateExists()
,
validateStateCountry()
Methods inherited from Model
affectedRows()
,
begin()
,
commit()
,
getConnection()
,
lastInsertId()
,
makeDSN()
,
prepare()
,
query()
,
rollBack()
,
setAttribute()
,
setFetchMode()