XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
XoopsGroupPermForm Class Reference
Inheritance diagram for XoopsGroupPermForm:
Inheritance graph

Public Member Functions

 _loadAllChildItemIds ($itemId, &$childIds)
 
 addItem ($itemId, $itemName, $itemParent=0)
 
 render ()
 
 XoopsGroupPermForm ($title, $modid, $permname, $permdesc, $url= '', $anonymous=true)
 
- Public Member Functions inherited from XoopsForm
 addElement (&$formElement, $required=false)
 
 assign (&$tpl)
 
 display ()
 
 getAction ($encode=true)
 
 getArrayID ($value, $key, $ret, $hashinfo= 'sha1')
 
getElementByName ($name)
 
 getElementNames ()
 
getElements ($recurse=false)
 
 getElementValue ($name, $encode=false)
 
 getElementValues ($encode=false)
 
getExtra ()
 
 getMethod ()
 
 getName ($encode=true)
 
 getObjectID ($object, $hashinfo= 'sha1')
 
getRequired ()
 
 getSummary ($encode=false)
 
 getTitle ($encode=false)
 
 insertBreak ($extra=null)
 
 render ()
 
 renderValidationJS ($withtags=true)
 
 setElementValue ($name, $value)
 
 setElementValues ($values)
 
 setExtra ($extra)
 
 setRequired (&$formElement)
 
 setSummary ($summary)
 
 XoopsForm ($title, $name, $action, $method= 'post', $addtoken=false, $summary= '')
 

Public Attributes

 $_itemTree
 
 $_modid
 
 $_permDesc
 
 $_permName
 
 $_showAnonymous
 
- Public Attributes inherited from XoopsForm
 $_action
 
 $_elements = array()
 
 $_extra = array()
 
 $_method
 
 $_name
 
 $_objid = 'da39a3ee5e6b4b0d3255bfef95601890afd80709'
 
 $_required = array()
 
 $_summary = ''
 
 $_title
 

Detailed Description

Renders a form for setting module specific group permissions

Definition at line 32 of file grouppermform.php.

Member Function Documentation

XoopsGroupPermForm::_loadAllChildItemIds (   $itemId,
$childIds 
)

Loads all child ids for an item to be used in javascript

Parameters
int$itemId
array$childIdsprivate

Definition at line 106 of file grouppermform.php.

XoopsGroupPermForm::addItem (   $itemId,
  $itemName,
  $itemParent = 0 
)

Adds an item to which permission will be assigned

Parameters
string$itemName
int$itemId
int$itemParentpublic

Definition at line 91 of file grouppermform.php.

XoopsGroupPermForm::render ( )

Renders the form

Returns
string public

Definition at line 128 of file grouppermform.php.

References $gperm_handler, $i, $member_handler, $ret, _CANCEL, _SUBMIT, and xoops_gethandler().

Here is the call graph for this function:

XoopsGroupPermForm::XoopsGroupPermForm (   $title,
  $modid,
  $permname,
  $permdesc,
  $url = '',
  $anonymous = true 
)

Constructor

Definition at line 69 of file grouppermform.php.

References $modid, $title, and $url.

Member Data Documentation

XoopsGroupPermForm::$_itemTree

Definition at line 45 of file grouppermform.php.

XoopsGroupPermForm::$_modid

Definition at line 39 of file grouppermform.php.

XoopsGroupPermForm::$_permDesc

Definition at line 57 of file grouppermform.php.

XoopsGroupPermForm::$_permName

Definition at line 51 of file grouppermform.php.

XoopsGroupPermForm::$_showAnonymous

Definition at line 64 of file grouppermform.php.


The documentation for this class was generated from the following file: