|
| static | find ($id) |
| |
| 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 | $colours |
| |
| static | $config = array() |
| |
| static | $reserved_slots = array('value','newid','iterator','tablemetadata', 'relationvalue','wherequery','relationoptions','data','new','id') |
| |
◆ __toString()
◆ configure()
| static configure |
( |
|
$config = [] | ) |
|
|
staticprotected |
set configuration data from subclass
- Parameters
-
| array | $config | configuration data |
- Returns
- void
Reimplemented from SimpleORMap.
◆ find()
The find method is overloaded here since the table is usually very small and the colour values are requested often. They are stored in an array and served from there to save database requests.
Reimplemented from SimpleORMap.
◆ setColourValue()
| setColourValue |
( |
|
$r = 0xff, |
|
|
|
$g = 0xff, |
|
|
|
$b = 0xff, |
|
|
|
$a = 0xff |
|
) |
| |
DEVELOPER WARNING: Do not rename this method to setValue since setValue is a SimpleORMap reserved method for setting attribute values of a SORM object!
◆ toRGBAFunction()
◆ $colours
$colours is an array with all colour values that is filled when a colour is requested.
The documentation for this class was generated from the following file: