Combu Server
3.1.1
PHP API Documentation
|
Public Member Functions | |
__construct ($src=null, $stripSlashes=false) | |
Save () | |
Delete () | |
Public Member Functions inherited from DataClass | |
Save () | |
Delete () | |
ToJson () | |
ToArray () | |
Static Public Member Functions | |
static | Load ($idApp, $idAccount, $returnArray=false) |
static | Prune () |
static | SetCustomData ($idApp, $idAccount, $key, $value) |
static | DeleteCustomData ($idApp, $idAccount, $keys) |
Static Public Member Functions inherited from DataClass | |
static | GetTableName ($class) |
static | LoadRecords ($query, $returnedClass="") |
static | CountRecords ($tableName, $filter=null) |
static | TruncateTable ($tableName) |
static | TruncateClass ($class) |
Data Fields | |
const | TABLE_NAME = "AppCustomData" |
$IdAccount = 0 | |
$IdApp = 0 | |
$DataKey = "" | |
$DataValue = "" | |
Additional Inherited Members | |
Protected Member Functions inherited from DataClass | |
_loadFilter ($tableName, $filter) | |
_loadByRow ($row, $stripSlashes=false, $callbackOnExists=false) | |
_Delete ($tableName, $filter=null) | |
Static Protected Member Functions inherited from DataClass | |
static | _count ($tableName, $filter=null) |
static | _load ($tableName, $returnedClass="", $where="", $order=null, $limit=null, $offset=null, &$count=null) |
static | _loadEx ($select, $from, $returnedClass="", $where="", $order=null, $limit=null, $offset=null, &$count=null, $debug=false) |
static | _loadQuery ($query, $returnedClass="") |
Class to handle User Custom Data for App scope
Definition at line 10 of file AppCustomData.php.
__construct | ( | $src = null , |
|
$stripSlashes = false |
|||
) |
Contructor
Definition at line 22 of file AppCustomData.php.
Delete | ( | ) |
Delete the record from the database Database $Database
Definition at line 63 of file AppCustomData.php.
|
static |
A shortcut to quickly delete custom data for an account and returns if it was successful
int | $idApp | Referenced AppId |
int | $idAccount | |
string|string[] | $keys |
Definition at line 102 of file AppCustomData.php.
|
static |
Get the registered custom data of an app
int | $idApp | Filter IdApp |
int | $idAccount | Filter IdAccount |
boolean | $returnArray | If TRUE then it will return associative arrays else objects |
Definition at line 37 of file AppCustomData.php.
|
static |
Delete all records associated to this class
Definition at line 74 of file AppCustomData.php.
Save | ( | ) |
Save the record in the database
Definition at line 47 of file AppCustomData.php.
|
static |
A shortcut to quickly update custom data for an account and returns if it was successful
int | $idApp | Referenced AppId |
int | $idAccount | Referenced Account Id |
string | $key | Key name |
string | $value | Value text |
Definition at line 86 of file AppCustomData.php.
$DataKey = "" |
Definition at line 16 of file AppCustomData.php.
$DataValue = "" |
Definition at line 17 of file AppCustomData.php.
$IdAccount = 0 |
Definition at line 14 of file AppCustomData.php.
$IdApp = 0 |
Definition at line 15 of file AppCustomData.php.
const TABLE_NAME = "AppCustomData" |
Definition at line 12 of file AppCustomData.php.