XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
|
Public Member Functions | |
__construct ($title, $modid, $permname, $permdesc, $url='') | |
addItem ($itemId, $itemName, $itemParent=0) | |
_loadAllChildItemIds ($itemId, &$childIds) | |
render () | |
![]() | |
XoopsForm ($title, $name, $action, $method='post', $addtoken=false) | |
getTitle () | |
getName () | |
getAction () | |
getMethod () | |
addElement (&$formElement, $required=false) | |
& | getElements ($recurse=false) |
getElementNames () | |
& | getElementByName ($name) |
setElementValue ($name, $value) | |
setElementValues ($values) | |
& | getElementValue ($name) |
& | getElementValues () |
setExtra ($extra) | |
& | getExtra () |
setRequired (&$formElement) | |
& | getRequired () |
insertBreak ($extra=null) | |
display () | |
renderValidationJS ($withtags=true) | |
assign (&$tpl) | |
Data Fields | |
$_modid | |
$_itemTree = [] | |
$_permName | |
$_permDesc | |
![]() | |
$_action | |
$_method | |
$_name | |
$_title | |
$_elements = [] | |
$_extra | |
$_required = [] | |
Definition at line 21 of file grouppermform.php.
__construct | ( | $title, | |
$modid, | |||
$permname, | |||
$permdesc, | |||
$url = '' ) |
Constructor
$title | ||
$modid | ||
$permname | ||
$permdesc | ||
string | $url |
Reimplemented from XoopsForm.
Definition at line 56 of file grouppermform.php.
_loadAllChildItemIds | ( | $itemId, | |
& | $childIds ) |
Loads all child ids for an item to be used in javascript
int | $itemId | |
array | $childIds | @access private |
Definition at line 91 of file grouppermform.php.
addItem | ( | $itemId, | |
$itemName, | |||
$itemParent = 0 ) |
Adds an item to which permission will be assigned
string | $itemName | |
int | $itemId | |
int | $itemParent | @access public |
Definition at line 76 of file grouppermform.php.
render | ( | ) |
Renders the form
Reimplemented from XoopsForm.
Definition at line 113 of file grouppermform.php.
$_itemTree = [] |
Definition at line 34 of file grouppermform.php.
$_modid |
Definition at line 28 of file grouppermform.php.
$_permDesc |
Definition at line 46 of file grouppermform.php.
$_permName |
Definition at line 40 of file grouppermform.php.