kernel
[ class tree: kernel ] [ index: kernel ] [ all elements ]

Class: XoopsGroupPermForm

Source Location: /class/xoopsform/grouppermform.php

Class Overview

XoopsForm
   |
   --XoopsGroupPermForm

Renders a form for setting module specific group permissions


Author(s):

Copyright:

  • copyright (c) 2000-2003 XOOPS.org

Variables

Methods


Inherited Methods

Class: XoopsForm

XoopsForm::XoopsForm()
constructor
XoopsForm::addElement()
Add an element to the form
XoopsForm::assign()
assign to smarty form template instead of displaying directly
XoopsForm::display()
displays rendered form
XoopsForm::getAction()
get the "action" attribute for the <form> tag
XoopsForm::getElementByName()
get a reference to a XoopsFormElement object by its "name"
XoopsForm::getElementNames()
get an array of "name" attributes of form elements
XoopsForm::getElements()
get an array of forms elements
XoopsForm::getElementValue()
Gets the "value" attribute of a form element
XoopsForm::getElementValues()
gets the "value" attribute of all form elements
XoopsForm::getExtra()
get the extra attributes for the <form> tag
XoopsForm::getMethod()
get the "method" attribute for the <form> tag
XoopsForm::getName()
get the "name" attribute for the <form> tag
XoopsForm::getRequired()
get an array of "required" form elements
XoopsForm::getTitle()
return the title of the form
XoopsForm::insertBreak()
insert a break in the form
XoopsForm::render()
returns renderered form
XoopsForm::renderValidationJS()
Renders the Javascript function needed for client-side for validation
XoopsForm::setElementValue()
Sets the "value" attribute of a form element
XoopsForm::setElementValues()
Sets the "value" attribute of form elements in a batch
XoopsForm::setExtra()
set the extra attributes for the <form> tag
XoopsForm::setRequired()
make an element "required"

Class Details

[line 45]
Renders a form for setting module specific group permissions



Tags:

copyright:  copyright (c) 2000-2003 XOOPS.org
author:  Kazumi Ono <onokazu@myweb.ne.jp>


[ Top ]


Class Variables

$_itemTree =

[line 58]

Tree structure of items


Type:   array


[ Top ]

$_modid =

[line 52]

Module ID


Type:   int


[ Top ]

$_permDesc =

[line 70]

Description of permission


Type:   string


[ Top ]

$_permName =

[line 64]

Name of permission


Type:   string


[ Top ]



Class Methods


constructor XoopsGroupPermForm [line 75]

XoopsGroupPermForm XoopsGroupPermForm( mixed $title, mixed $modid, mixed $permname, mixed $permdesc, [mixed $url = ""])

Constructor



[ Top ]

method addItem [line 95]

void addItem( int $itemId, string $itemName, [int $itemParent = 0])

Adds an item to which permission will be assigned



Tags:

access:  public


Parameters:

string   $itemName  
int   $itemId  
int   $itemParent  

[ Top ]

method render [line 132]

string render( )

Renders the form



Tags:

access:  public


Overrides XoopsForm::render() (returns renderered form)

[ Top ]


Documentation generated on Fri, 03 Mar 2006 08:56:05 +0000 by phpDocumentor 1.3.0RC3