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

Class: Cnz_Html_Form_Item

Source Location: /Html/Form/Item.php

Class Overview

Cnz_Html_Element
   |
   --Cnz_Html_Form_Item

HTML Form Item class


Author(s):

Variables

Methods


Child classes:

Cnz_Html_Form_Password
HTML Form Password class
Cnz_Html_Form_Select
HTML Form Select class
Cnz_Html_Form_Checkbox
HTML Form Checkbox class
Cnz_Html_Form_Radio
HTML Form Radio class
Cnz_Html_Form_File
HTML Form File class
Cnz_Html_Form_Text
HTML Form Text class
Cnz_Html_Form_Hidden
HTML Form Hidden class
Cnz_Html_Form_Textarea
HTML Form Textarea class

Inherited Constants

Inherited Variables

Inherited Methods


Class Details

[line 43]
HTML Form Item class

Abstract base class for form elements.




Tags:

abstract:  


[ Top ]


Class Variables

$initial =  NULL

[line 47]



Tags:

access:  protected

Type:   string


[ Top ]

$label =  NULL

[line 46]



Tags:

access:  protected

Type:   string


[ Top ]



Class Methods


constructor __construct [line 71]

Cnz_Html_Form_Item __construct( [ $options = array()], [ $config = NULL])

Option fields: initial Initial value for this field

Configuration fields: label Label for this field initial Initial value for this field




Tags:

access:  public


Overridden in child classes as:

Cnz_Html_Form_Password::__construct()
Option fields: none
Cnz_Html_Form_Select::__construct()
Option fields: none
Cnz_Html_Form_Checkbox::__construct()
Option fields: none
Cnz_Html_Form_Radio::__construct()
Option fields: none
Cnz_Html_Form_File::__construct()
Option fields: none
Cnz_Html_Form_Text::__construct()
Option fields: none
Cnz_Html_Form_Hidden::__construct()
Option fields: none
Cnz_Html_Form_Textarea::__construct()
Option fields: none

Overrides Cnz_Html_Element::__construct() (Option fields:)

Parameters:

array   $options   Options
Zend_Config   $config   Configuration

[ Top ]

method getLabel [line 53]

string getLabel( )



Tags:

return:  Label
access:  public


[ Top ]

method submitString [line 87]

string submitString( [ $data = NULL])

This function returns a string formatted for display or submission by mail.



Tags:

access:  public


Overridden in child classes as:

Cnz_Html_Form_File::submitString()
Cnz_Html_Form_Hidden::submitString()
No output for hidden fields.

Parameters:

array   $data   Form data

[ Top ]


Documentation generated on Thu, 19 Jul 2007 15:02:12 -0400 by phpDocumentor 1.4.0RC2