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

Class: XoopsFormText

Source Location: /class/xoopsform/formtext.php

Class Overview

XoopsFormElement
   |
   --XoopsFormText

A simple text field


Author(s):

Copyright:

  • copyright (c) 2000-2003 XOOPS.org

Methods


Child classes:

XoopsFormTextDateSelect
A text field with calendar popup

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 48]
A simple text field



Tags:

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


[ Top ]


Class Methods


constructor XoopsFormText [line 80]

XoopsFormText XoopsFormText( string $caption, string $name, int $size, int $maxlength, [string $value = ""])

Constructor



Parameters:

string   $caption   Caption
string   $name   "name" attribute
int   $size   Size
int   $maxlength   Maximum length of text
string   $value   Initial text

[ Top ]

method getMaxlength [line 102]

int getMaxlength( )

Get maximum text length



[ Top ]

method getSize [line 93]

int getSize( )

Get size



[ Top ]

method getValue [line 111]

string getValue( )

Get initial text value



[ Top ]

method render [line 129]

string render( )

Prepare HTML for output



Tags:

return:  HTML


Overridden in child classes as:

XoopsFormTextDateSelect::render()

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

[ Top ]

method setValue [line 120]

void setValue( $value $value)

Set initial text value



Parameters:

$value   $value   string

[ Top ]


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