|
| static | currentlyLocked () |
| |
| static | getDefinedTypes () |
| |
| static | tableScheme ($db_table) |
| |
| static | expireTableScheme () |
| |
| static | find ($id) |
| |
| static | exists ($id) |
| |
| static | countBySql ($sql=1, $params=array()) |
| |
| static | create ($data) |
| |
| static | build ($data, $is_new=true) |
| |
| static | buildExisting ($data) |
| |
| static | import ($data) |
| |
| static | findBySQL ($sql, $params=array()) |
| |
| static | findOneBySQL ($where, $params=array()) |
| |
| static | findThru ($foreign_key_value, $options) |
| |
| static | findEachBySQL ($callable, $sql, $params=array()) |
| |
| static | findMany ($pks=array(), $order='', $order_params=array()) |
| |
| static | findEachMany ($callable, $pks=array(), $order='', $order_params=array()) |
| |
| static | findAndMapBySQL ($callable, $where, $params=array()) |
| |
| static | findAndMapMany ($callable, $pks=array(), $order='', $order_params=array()) |
| |
| static | deleteBySQL ($where, $params=array()) |
| |
| static | toObject ($id_or_object) |
| |
| static | __callStatic ($name, $arguments) |
| |
|
| static | $defined_types = [] |
| |
| static | $config = array() |
| |
| static | $reserved_slots = array('value','newid','iterator','tablemetadata', 'relationvalue','wherequery','relationoptions','data','new','id') |
| |
◆ __construct()
| __construct |
( |
|
$id = null | ) |
|
constructor, give primary key of record as param to fetch corresponding record from db if available, if not preset primary key with given value. Give null to create new record
- Parameters
-
| mixed | $id | primary key of table |
Reimplemented from SimpleORMap.
◆ configure()
| static configure |
( |
|
$config = [] | ) |
|
|
staticprotected |
set configuration data from subclass
- Parameters
-
| array | $config | configuration data |
- Returns
- void
Reimplemented from SimpleORMap.
◆ currentlyLocked()
| static currentlyLocked |
( |
| ) |
|
|
static |
◆ getDefinedTypes()
| static getDefinedTypes |
( |
| ) |
|
|
static |
Returns a list of defined lock types.
- Returns
- string[] An associative array with all defined lock types.
◆ getExplainationString()
| getExplainationString |
( |
| ) |
|
◆ getTypeString()
Returns a string representation of the type of this resource lock.
- Returns
- string A string representing the type of this resource lock.
◆ initDefinedTypes()
| static initDefinedTypes |
( |
| ) |
|
|
staticprotected |
◆ $defined_types
The documentation for this class was generated from the following file: