extends |
XoopsForm |
---|
Renders a form for setting module specific group permissions
Methods | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
public
|
__construct($title, $modid, $permname, $permdesc, string $url = '', bool $anonymous = true)
Constructor
Constructor Parameters
Overrides |
# | ||||||||||
public
|
addItem(int $itemId, string $itemName, int $itemParent = 0)
Adds an item to which permission will be assigned
Adds an item to which permission will be assigned |
# | ||||||||||
public
|
_loadAllChildItemIds(int $itemId, array &$childIds)
Loads all child ids for an item to be used in javascript
Loads all child ids for an item to be used in javascript |
# | ||||||||||
public
|
render(): string
Renders the form
|
# |
Properties | |||
---|---|---|---|
public
|
int
|
$_modid
|
# |
public
|
array
|
$_itemTree = []
|
# |
public
|
string
|
$_permName
|
# |
public
|
string
|
$_permDesc
|
# |
public
|
bool
|
$_showAnonymous
|
# |
Properties inherited from XoopsForm |
---|
$_action, $_method, $_name, $_title, $_summary, $_elements, $_class, $_extra, $_required, $_objid |