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

Class: Cnz_Html_Form_Group

Source Location: /Html/Form/Group.php

Class Overview

Cnz_Html_Element
   |
   --Cnz_Html_Form_Abstract
      |
      --Cnz_Html_Form_Group

HTML Form Group class


Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: Cnz_Html_Form_Abstract

Cnz_Html_Form_Abstract::__construct()
Option fields: default Associative array containing default field values row Zend_Db_Table_Row containing data for this form
Cnz_Html_Form_Abstract::display()
Cnz_Html_Form_Abstract::hasFile()
Cnz_Html_Form_Abstract::submitString()
This function returns a string formatted for display or submission by mail.

Class: Cnz_Html_Element

Cnz_Html_Element::__construct()
Option fields:
Cnz_Html_Element::display()
Cnz_Html_Element::genId()
Generates the id attribute value.
Cnz_Html_Element::genStyles()
Generates the class attribute value.
Cnz_Html_Element::getName()

Class Details

[line 53]
HTML Form Group class

This class automates the creation and display of a field group.

Example INI:


 item.address.label      = Address
 item.address.type       = group

 [HtmlForm-address]
 Define fields for this group in this section.
 




[ Top ]


Class Methods


constructor __construct [line 71]

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

Option fields: none

Configuration fields: label Label for legend




Tags:

access:  public


Overrides Cnz_Html_Form_Abstract::__construct() (Option fields: default Associative array containing default field values row Zend_Db_Table_Row containing data for this form)

Parameters:

array   $options   Options
Zend_Config   $config   Configuration

[ Top ]

method display [line 82]

void display( [string $style = NULL])



Tags:

access:  public


Overrides Cnz_Html_Form_Abstract::display() (parent method not documented)

Parameters:

string   $style   Value for outermost style attribute

[ Top ]

method submitString [line 107]

string submitString( [ $data = NULL])



Tags:

access:  public


Overrides Cnz_Html_Form_Abstract::submitString() (This function returns a string formatted for display or submission by mail.)

Parameters:

array   $data   Form data

[ Top ]


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