[ Index ] |
|
Code source de XOOPS 2.0.17.1 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Author: | Kazumi Ono <onokazu@xoops.org> |
Copyright: | copyright (c) 2000-2003 XOOPS.org |
Poids: | 334 lignes (9 kb) |
Inclus ou requis: | 1 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
XoopsFormElement:: (20 méthodes):
XoopsFormElement()
isContainer()
setName()
getName()
setAccessKey()
getAccessKey()
getAccessString()
setClass()
getClass()
setCaption()
getCaption()
setDescription()
getDescription()
setHidden()
isHidden()
isRequired()
setExtra()
getExtra()
renderValidationJS()
render()
Classe: XoopsFormElement - X-Ref
Abstract base class for form elementsXoopsFormElement() X-Ref |
constructor |
isContainer() X-Ref |
Is this element a container of other elements? return: bool false |
setName($name) X-Ref |
set the "name" attribute for the element param: string $name "name" attribute for the element |
getName($encode=true) X-Ref |
get the "name" attribute for the element param: bool encode? return: string "name" attribute |
setAccessKey($key) X-Ref |
set the "accesskey" attribute for the element param: string $key "accesskey" attribute for the element |
getAccessKey() X-Ref |
get the "accesskey" attribute for the element return: string "accesskey" attribute value |
getAccessString( $str ) X-Ref |
If the accesskey is found in the specified string, underlines it param: string $str String where to search the accesskey occurence return: string Enhanced string with the 1st occurence of accesskey underlined |
setClass($class) X-Ref |
set the "class" attribute for the element param: string $key "class" attribute for the element |
getClass() X-Ref |
get the "class" attribute for the element return: string "class" attribute value |
setCaption($caption) X-Ref |
set the caption for the element param: string $caption |
getCaption() X-Ref |
get the caption for the element return: string |
setDescription($description) X-Ref |
set the element's description param: string $description |
getDescription() X-Ref |
get the element's description return: string |
setHidden() X-Ref |
flag the element as "hidden" |
isHidden() X-Ref |
Find out if an element is "hidden". return: bool |
isRequired() X-Ref |
Find out if an element is required. return: bool |
setExtra($extra, $replace = false) X-Ref |
Add extra attributes to the element. This string will be inserted verbatim and unvalidated in the element's tag. Know what you are doing! param: string $extra param: string $replace If true, passed string will replace current content otherwise it will be appended to it return: string New content of the extra string |
getExtra() X-Ref |
Get the extra attributes for the element return: string |
renderValidationJS() X-Ref |
Render custom javascript validation code |
render() X-Ref |
Generates output for the element. This method is abstract and must be overwritten by the child classes. |
Généré le : Sun Nov 25 11:44:32 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |