Class: IcmsFormParentcategoryElement

Source Location: /class/icmsform/elements/icmsformparentcategoryelement.php

Class IcmsFormParentcategoryElement

Class Overview

Form control creating a parent category selectbox for an object derived from IcmsPersistableObject

Located in /class/icmsform/elements/icmsformparentcategoryelement.php [line 15]

XoopsFormElement
   |
   --XoopsFormSelect
      |
      --IcmsFormParentcategoryElement
Author(s): Information Tags:
Version:  $Id: icmsformparentcategoryelement.php 5669 2008-10-14 19:53:37Z pesian_stranger $
Copyright:  The ImpressCMS Project http://www.impresscms.org/
Since:  1.1
License:  GNU General Public License (GPL)

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From XoopsFormElement

XoopsFormElement::$customValidationCode

Inherited From XoopsFormSelect

XoopsFormSelect::XoopsFormSelect()
Constructor
XoopsFormSelect::addOption()
Add an option
XoopsFormSelect::addOptionArray()
Add multiple options
XoopsFormSelect::getOptions()
Get an array with all the options
XoopsFormSelect::getSize()
Get the size
XoopsFormSelect::getValue()
Get an array of pre-selected values
XoopsFormSelect::isMultiple()
Are multiple selections allowed?
XoopsFormSelect::render()
Prepare HTML for output
XoopsFormSelect::setValue()
Set pre-selected values

Inherited From 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::isRequired()
Find out if an element is required.
XoopsFormElement::render()
Generates output for the element.
XoopsFormElement::renderValidationJS()
Render custom javascript validation code
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

[ Top ]
Method Summary
IcmsFormParentcategoryElement   IcmsFormParentcategoryElement()  
array   getOptionArray()   Get options for a category select with hierarchy (recursive)

[ Top ]
Methods
Constructor IcmsFormParentcategoryElement  [line 16]

  IcmsFormParentcategoryElement IcmsFormParentcategoryElement( $object, $key  )

Parameters:
   $object: 
   $key: 


[ Top ]
getOptionArray  [line 52]

  array getOptionArray( XoopsObjectTree $tree, string $fieldName, int $key, [string $prefix_curr = ""], &$ret, array $ret  )

Get options for a category select with hierarchy (recursive)

Parameters:
XoopsObjectTree   $tree: 
string   $fieldName: 
int   $key: 
string   $prefix_curr: 
array   $ret: 
   &$ret: 


[ Top ]

Documentation generated on Sat, 15 Nov 2008 14:16:54 -0600 by phpDocumentor 1.4.1