API documentation :: Docs For Class arbitUserFacade
Packages:Interfaces:
Classes:
|
Core::Facade::arbitUserFacadeInterface arbitUserFacadeUser facade defining all methods required to access user related data in the backend. User facade defining all methods required to access user related data in the backend.
Method Summary
MethodscreateUser
mixed
createUser(
string
$name
)
Create a new user Create a new user with the given name. there already is a user with the given name. Create a new user Create a new user with the given name. An exception will be thrown if there already is a user with the given name. The ID generated by the backend in some way is returned for later reference. The type of the identifier depends on the backend, no assumptions should be made here. Parameters:
getAllUserIDs
array
getAllUserIDs(
)
Get array of users Return an array with the IDs of all available users in the database. Get array of users Return an array with the IDs of all available users in the database. getUserData
array
getUserData(
string
$user
)
Get user data Get user data Get data for the given user id. The data should be returned as an array, and should contain the following keys:
Parameters:
getUserDataByLogin
array
getUserDataByLogin(
string
$login
)
Get user by login Get the user id for the user given by its login name. Get user by login Get the user id for the user given by its login name. Parameters:
updateUserData
void
updateUserData(
string
$user
, array
$data
)
Update stored information for the given user The array with the information to update may any number of the common keys, and only the given keys will be updated in the storage backend. Update stored information for the given user The array with the information to update may any number of the common keys, and only the given keys will be updated in the storage backend. Parameters:
Documentation generated on Mon, 05 Apr 2010 14:02:21 +0200 by phpDocumentor 1.4.3
|