API documentation :: Docs For Class arbitModelUser
Packages:Interfaces:
Classes:
|
Core::Model::arbitModelUserClass arbitModelUserUser model User model arbitBaseStruct | --arbitModelBase | --arbitModelUserAuthor(s):
Member Variables
Inherited Member Variables
Method Summary
Inherited Methods
MethodsfetchAll
static array
fetchAll(
)
Fetch all users Static function to fetch an array with all users in the database. the returned users only the ID is set, and all other data will be fetched lazy on explicit request. Fetch all users Static function to fetch an array with all users in the database. In the returned users only the ID is set, and all other data will be fetched lazy on explicit request. findByLogin
static arbitModelUser
findByLogin(
string
$login
)
Find user by login Find a user in the database by its login name and return the arbitModelUser, or throw an exception. Find user by login Find a user in the database by its login name and return the arbitModelUser, or throw an exception. Parameters:
create
mixed
create(
)
Method called to create a new instance in the backend. Method called to create a new instance in the backend. Method called when the model should be created in the backend the first time. This will normally throw an error if a model with the same identifier already exists in the backend. Returns the backend dependant identifier of the created user. Redefinition of:
fetchPrivileges
void
fetchPrivileges(
)
Fetch the basic user data Fetch the basic user data Fetch the basic user data fetchUserData
void
fetchUserData(
)
Fetch the basic user data Fetch the basic user data Fetch the basic user data getPersistenceToken
string
getPersistenceToken(
)
Create and return new persistence token Creates a sufficently random persistence token, stores it for the user account and returns it, so it can be used for further actions. Create and return new persistence token Creates a sufficently random persistence token, stores it for the user account and returns it, so it can be used for further actions. storeChanges
void
storeChanges(
)
Method called to store changes to the model. Method called to store changes to the model. Method called to store changes in the model to the backend. The method should only modify the backend data, if something really has been changed in the model. Use the __set() method, which should wrap all write access to the model, to remember write access. Redefinition of:
Documentation generated on Mon, 05 Apr 2010 14:02:21 +0200 by phpDocumentor 1.4.3
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||