|
Stud.IP
2.2 Revision 48548
|


Static Public Member Functions | |
| static | find ($id) |
| static | findByUsername ($username) |
| static | findBySql ($where) |
| static | toObject ($id_or_object) |
Static Public Member Functions inherited from SimpleORMap | |
| static | expireTableScheme () |
| static | find ($class, $id) |
| static | findBySQL ($class, $where) |
| static | deleteBySQL ($class, $where) |
| static | toObject ($class, $id_or_object) |
Data Fields | |
| $classname = "User" | |
| $that_class = "Session_sql" | |
| $name | |
| $id | |
| $pt = array() | |
| $that | |
Data Fields inherited from Session | |
| $classname = "Session" | |
| $magic = "" | |
| $mode = "cookie" | |
| $fallback_mode | |
| $lifetime = 0 | |
| $cookie_domain = "" | |
| $cookie_path = "/" | |
| $gc_time = 1440 | |
| $gc_probability = 1 | |
| $auto_init = "" | |
| $secure_auto_init = 1 | |
| $allowcache = "no" | |
| $allowcache_expire = 1440 | |
| $that_class = "" | |
| $name = "" | |
| $id = "" | |
| $that | |
| $pt = array() | |
| $in = false | |
| $cookiename | |
| $trans_id_enabled = true | |
| $module = 'user' | |
| $save_path | |
Protected Member Functions | |
| getTableScheme () | |
Protected Member Functions inherited from SimpleORMap | |
| initializeContent () | |
Protected Attributes | |
| $auth_user_md5 | |
| $user_info | |
Protected Attributes inherited from SimpleORMap | |
| $content = array() | |
| $content_db = array() | |
| $is_new = true | |
| $db_table = '' | |
| $db_fields = null | |
| $pk = null | |
| $default_values = array() | |
Additional Inherited Members | |
Static Protected Member Functions inherited from SimpleORMap | |
| static | TableScheme ($db_table) |
Static Protected Attributes inherited from SimpleORMap | |
| static | $schemes |
this class represents one user, the attributes from tables auth_user_md5 and user_info were merged.
| __construct | ( | $id = null | ) |
| string | $id | a user id |
Reimplemented from SimpleORMap.
| delete | ( | ) |
Reimplemented from SimpleORMap.
|
static |
|
static |
returns array of instances of given class filtered by given sql should be overridden in subclass to omit $class param
| string | $class | |
| string | sql clause to use on the right side of WHERE |


|
static |
| get_id | ( | $id = "" | ) |
| getFullName | ( | $format = "full" | ) |
returns the name in specified format (formats defined in $GLOBALS['_fullname_sql'])
| string | one of full,full_rev,no_title,no_title_rev,no_title_short,no_title_motto,full_rev_username |

| getNewId | ( | ) |
Reimplemented from SimpleORMap.
|
protected |
Reimplemented from SimpleORMap.
| getWhereQuery | ( | ) |
Reimplemented from SimpleORMap.

| put_id | ( | ) |
Reimplemented from Session.
| restore | ( | ) |
Reimplemented from SimpleORMap.


| setData | ( | $data, | |
$reset = false |
|||
| ) |
Reimplemented from SimpleORMap.

| setId | ( | $id | ) |
Reimplemented from SimpleORMap.
| start | ( | $sid = "" | ) |
| store | ( | ) |
Reimplemented from SimpleORMap.

|
static |
returns user object for given id or null the param could be a string, an assoc array containing primary key field or an already matching object. In all these cases an object is returned
| mixed | $id_or_object | id as string, object or assoc array |
| triggerChdate | ( | ) |
Reimplemented from SimpleORMap.

|
protected |
| $classname = "User" |
| $id |
| $name |
| $pt = array() |
| $that |
| $that_class = "Session_sql" |
|
protected |