API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Public Member Functions | |
__construct ($title, $modid, $permname, $permdesc, $url='', $anonymous=true) | |
addItem ($itemId, $itemName, $itemParent=0) | |
_loadAllChildItemIds ($itemId, &$childIds) | |
render () | |
Public Member Functions inherited from XoopsForm | |
__construct ($title, $name, $action, $method='post', $addtoken=false, $summary='') | |
XoopsForm () | |
getObjectID ($object, $hashinfo='sha1') | |
getArrayID ($value, $key, $ret, $hashinfo='sha1') | |
getSummary ($encode=false) | |
getTitle ($encode=false) | |
getName ($encode=true) | |
getAction ($encode=true) | |
getMethod () | |
addElement ($formElement, $required=false) | |
& | getElements ($recurse=false) |
getElementNames () | |
& | getElementByName ($name) |
setElementValue ($name, $value) | |
setElementValues ($values) | |
getElementValue ($name, $encode=false) | |
getElementValues ($encode=false) | |
setClass ($class) | |
setExtra ($extra) | |
setSummary ($summary) | |
& | getClass () |
& | getExtra () |
setRequired (XoopsFormElement $formElement) | |
& | getRequired () |
insertBreak ($extra=null) | |
render () | |
display () | |
renderValidationJS ($withtags=true) | |
assign (XoopsTpl $tpl) | |
Data Fields | |
$_modid | |
$_itemTree = array() | |
$_permName | |
$_permDesc | |
$_showAnonymous | |
Data Fields inherited from XoopsForm | |
$_action | |
$_method | |
$_name | |
$_title | |
$_summary = '' | |
$_elements = array() | |
$_class = array() | |
$_extra = array() | |
$_required = array() | |
$_objid = 'da39a3ee5e6b4b0d3255bfef95601890afd80709' | |
Renders a form for setting module specific group permissions
__construct | ( | $title, | |
$modid, | |||
$permname, | |||
$permdesc, | |||
$url = '' , |
|||
$anonymous = true |
|||
) |
Constructor
$title | ||
$modid | ||
$permname | ||
$permdesc | ||
string | $url | |
bool | $anonymous |
Reimplemented from XoopsForm.
_loadAllChildItemIds | ( | $itemId, | |
& | $childIds | ||
) |
Loads all child ids for an item to be used in javascript
int | $itemId | |
array | $childIds | @access private |
addItem | ( | $itemId, | |
$itemName, | |||
$itemParent = 0 |
|||
) |
Adds an item to which permission will be assigned
string | $itemName | |
int | $itemId | |
int | $itemParent | @access public |
render | ( | ) |
Renders the form
Reimplemented from XoopsForm.
$_itemTree = array() |
$_modid |
$_permDesc |
$_permName |
$_showAnonymous |