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

Class: XoopsGroupFormCheckBox

Source Location: /class/xoopsform/grouppermform.php

Class Overview

XoopsFormElement
   |
   --XoopsGroupFormCheckBox

Renders checkbox options for a group permission form


Author(s):

Copyright:

  • copyright (c) 2000-2003 XOOPS.org

Variables

Methods


Inherited Methods

Class: XoopsFormElement

XoopsFormElement::XoopsFormElement()
constructor
XoopsFormElement::getAccessKey()
get the "accesskey" attribute for the element
XoopsFormElement::getAccessString()
If the accesskey is found in the specified string, underlines it
XoopsFormElement::getCaption()
get the caption for the element
XoopsFormElement::getClass()
get the "class" attribute for the element
XoopsFormElement::getDescription()
get the element's description
XoopsFormElement::getExtra()
Get the extra attributes for the element
XoopsFormElement::getName()
get the "name" attribute for the element
XoopsFormElement::isContainer()
Is this element a container of other elements?
XoopsFormElement::isHidden()
Find out if an element is "hidden".
XoopsFormElement::render()
Generates output for the element.
XoopsFormElement::setAccessKey()
set the "accesskey" attribute for the element
XoopsFormElement::setCaption()
set the caption for the element
XoopsFormElement::setClass()
set the "class" attribute for the element
XoopsFormElement::setDescription()
set the element's description
XoopsFormElement::setExtra()
Add extra attributes to the element.
XoopsFormElement::setHidden()
flag the element as "hidden"
XoopsFormElement::setName()
set the "name" attribute for the element

Class Details

[line 183]
Renders checkbox options for a group permission form



Tags:

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


[ Top ]


Class Variables

$_groupId =

[line 196]

Group ID


Type:   int


[ Top ]

$_optionTree =

[line 202]

Option tree


Type:   array


[ Top ]

$_value = array()

[line 190]

Pre-selected value(s)


Type:   array;


[ Top ]



Class Methods


constructor XoopsGroupFormCheckBox [line 207]

XoopsGroupFormCheckBox XoopsGroupFormCheckBox( mixed $caption, mixed $name, mixed $groupId, [mixed $values = null])

Constructor



[ Top ]

method render [line 251]

string render( )

Renders checkbox options for this group



Tags:

access:  public


Overrides XoopsFormElement::render() (Generates output for the element.)

[ Top ]

method setOptionTree [line 240]

void setOptionTree( array &$optionTree)

Sets the tree structure of items



Tags:

access:  public


Parameters:

array   $optionTree  

[ Top ]

method setValue [line 223]

void setValue( mixed $value)

Sets pre-selected values



Tags:

access:  public


Parameters:

mixed   $value   A group ID or an array of group IDs

[ Top ]


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