CaMykS
1.0-20231201
|
Admin_Group Module group library. More...
Public Member Functions | |
__construct ($name='', $parent=null) | |
get () | |
initialise () | |
get_fromDatabase () | |
save () | |
delete_fromDatabase () | |
get_usersFromDatabase () | |
update_usersToDatabase () | |
install () | |
is_installed () | |
get_fromHeader ($prefix='') | |
get_fromArray ($data) | |
check_data () | |
exists_group ($name) | |
is_userInGroup ($user) | |
get_objectList () | |
static_getNameList () | |
static_getAdminList () | |
Public Attributes | |
$name | |
Group symbolic name. More... | |
$title | |
Group title. More... | |
$description | |
Group description. More... | |
$is_new | |
Is group new. More... | |
$users | |
Group users as list. More... | |
$users_ | |
Group users as string. More... | |
$_libError = '' | |
Object last error. More... | |
$_libDesc = 'Module: Admin_Group Lib: AdminGroup' | |
Object description. More... | |
$_libIsInstalled = null | |
Is group object installed. More... | |
Private Member Functions | |
create_toDatabase () | |
update_toDatabase () | |
Private Attributes | |
$_libParent = null | |
Link to parent module. More... | |
Admin_Group Module group library.
AdminGroup::__construct | ( | $name = '' , |
|
$parent = null |
|||
) |
Class constructor.
string | $name | |
Object | $parent |
AdminGroup::get | ( | ) |
Load object.
AdminGroup::initialise | ( | ) |
Initialise new object.
AdminGroup::get_fromDatabase | ( | ) |
Load object from database
AdminGroup::save | ( | ) |
Save object
|
private |
Create new object to database
|
private |
Update object to database
AdminGroup::delete_fromDatabase | ( | ) |
Delete object from database
AdminGroup::get_usersFromDatabase | ( | ) |
Load user list from database.
AdminGroup::update_usersToDatabase | ( | ) |
Update user list to database.
AdminGroup::install | ( | ) |
Install admingroup table in database
AdminGroup::is_installed | ( | ) |
Check is object is installed.
AdminGroup::get_fromHeader | ( | $prefix = '' | ) |
Load object data from header.
string | $prefix |
AdminGroup::get_fromArray | ( | $data | ) |
Load object data from array
array | $data |
AdminGroup::check_data | ( | ) |
Check object data.
AdminGroup::exists_group | ( | $name | ) |
Check if object name already exists.
string | $name |
AdminGroup::is_userInGroup | ( | $user | ) |
Check if user is in object.
string | $user |
AdminGroup::get_objectList | ( | ) |
Return object list.
AdminGroup::static_getNameList | ( | ) |
Return object name list
AdminGroup::static_getAdminList | ( | ) |
Return object list in admin mode
AdminGroup::$name |
Group symbolic name.
var string $name
AdminGroup::$title |
Group title.
var string $title
AdminGroup::$description |
Group description.
var string $description
AdminGroup::$is_new |
Is group new.
var boolean $is_new
AdminGroup::$users |
Group users as list.
var array $users
AdminGroup::$users_ |
Group users as string.
var string $users_
AdminGroup::$_libError = '' |
Object last error.
var string $_libError
AdminGroup::$_libDesc = 'Module: Admin_Group Lib: AdminGroup' |
Object description.
var string $_libDesc
AdminGroup::$_libIsInstalled = null |
Is group object installed.
var boolean $_libIsInstalled
|
private |
Link to parent module.
var Object $_libParent