|
| static | findByUsername ($username) |
| |
| static | findByDatafield ($datafield_id, $value) |
| |
| static | expireTableScheme () |
| |
| static | find ($id) |
| |
| static | exists ($id) |
| |
| static | countBySql ($where=1, $params=array()) |
| |
| static | create ($data) |
| |
| static | import ($data) |
| |
| static | findBySQL ($where, $params=array()) |
| |
| static | findThru ($foreign_key_value, $options) |
| |
| static | findEachBySQL ($callable, $where, $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) |
| |
|
| | parseRelationOptions ($type, $name, $options) |
| |
| | getTableScheme () |
| |
| | storeRelations () |
| |
| | deleteRelations () |
| |
| | initializeContent () |
| |
| | applyCallbacks ($type) |
| |
| | registerCallback ($types, $cb) |
| |
| | unregisterCallback ($types, $cb) |
| |
| | cbAutoIncrementColumn ($type) |
| |
| | cbAutoKeyCreation () |
| |
| static | tableScheme ($db_table) |
| |
| | $content = array() |
| |
| | $content_db = array() |
| |
| | $is_new = true |
| |
| | $db_table = '' |
| |
| | $db_fields = null |
| |
| | $pk = null |
| |
| | $default_values = array() |
| |
| | $alias_fields = array() |
| |
| | $additional_fields = array() |
| |
| | $relations = array() |
| |
| | $has_many = array() |
| |
| | $has_one = array() |
| |
| | $belongs_to = array() |
| |
| | $has_and_belongs_to_many = array() |
| |
| | $registered_callbacks |
| |
| | $known_slots = array() |
| |
| | $reserved_slots = array('value','newid','iterator','tablemetadata', 'relationvalue','wherequery','relationoptions','data','new','id') |
| |
| static | $schemes |
| |
◆ __construct()
| __construct |
( |
|
$id = null | ) |
|
◆ findByDatafield()
| static findByDatafield |
( |
|
$datafield_id, |
|
|
|
$value |
|
) |
| |
|
static |
returns an array of User-objects that have the given value in the given datafield.
- Parameters
-
| string | $datafield_id | |
| array | of User |
◆ findByUsername()
| static findByUsername |
( |
|
$username | ) |
|
|
static |
return user object for given username
- Parameters
-
| string | $username | a username |
- Returns
- User
◆ get_id()
◆ getFullName()
| getFullName |
( |
|
$format = "full" | ) |
|
returns the name in specified format (formats defined in $GLOBALS['_fullname_sql'])
- Parameters
-
| string | one of full,full_rev,no_title,no_title_rev,no_title_short,no_title_motto,full_rev_username |
- Returns
- string guess what - the fullname
◆ put_id()
◆ start()
◆ store()
◆ toArrayRecursive()
| toArrayRecursive |
( |
|
$only_these_fields = null | ) |
|
◆ triggerChdate()
◆ $classname
◆ $id
◆ $name
◆ $pt
◆ $that
◆ $that_class
| $that_class = "Session_sql" |
The documentation for this class was generated from the following files: