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=0, $idAdminAccount=0, $ip=NULL, $limit=null, $offset=null, &$count=null) |
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 = "IpBan" |
$Id = 0 | |
$DateCreated = NULL | |
$DateUpdated = NULL | |
$IdApp = 0 | |
$IdAdminAccount = 0 | |
$FromIp = "" | |
$ToIp = "" | |
$FromIpInt = 0 | |
$ToIpInt = 0 | |
$Reason = "" | |
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="") |
__construct | ( | $src = null , |
|
$stripSlashes = false |
|||
) |
Delete | ( | ) |
|
static |
Get the registered IP bans Database $Database
int | $idApp | Filter IdApp |
int | $idAdminAccount | Filter IdAccount |
string | $ip | Filter FromIp-ToIp |
int | $limit | Max number of results (for paged results) |
int | $offset | Offset number of results (for paged results) |
int | $count | Will be set to the total count of results |
Save | ( | ) |