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

Class: Cnz_Html_Form_Abstract

Source Location: /Html/Form/Abstract.php

Class Overview

Cnz_Html_Element
   |
   --Cnz_Html_Form_Abstract

HTML Form Abstract class


Author(s):

Variables

Constants

Methods


Child classes:

Cnz_Html_Form_Group
HTML Form Group class
Cnz_Html_Form
HTML Form class

Inherited Constants

Inherited Variables

Inherited Methods


Class Details

[line 52]
HTML Form Abstract class

Abstract base class for forms.




Tags:

abstract:  


[ Top ]


Class Variables

$fileFlag =  false

[line 63]



Tags:

access:  protected

Type:   boolean


[ Top ]

$row =  NULL

[line 67]



Tags:

access:  protected

Type:   Zend_Db_Table_Row_Abstract


[ Top ]



Class Methods


constructor __construct [line 79]

Cnz_Html_Form_Abstract __construct( [ $options = array()], Zend_Config $config)

Option fields: default Associative array containing default field values row Zend_Db_Table_Row containing data for this form



Tags:

access:  public


Overridden in child classes as:

Cnz_Html_Form_Group::__construct()
Option fields: none
Cnz_Html_Form::__construct()
Option fields: none

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

Parameters:

array   $options   Options
Zend_Config   $config   Configuration

[ Top ]

method display [line 129]

void display( [string $style = NULL])



Tags:

access:  public


Overridden in child classes as:

Cnz_Html_Form_Group::display()
Cnz_Html_Form::display()

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

Parameters:

string   $style   Value for outermost style attribute

[ Top ]

method hasFile [line 120]

boolean hasFile( )



Tags:

return:  Has a file field
access:  public


[ Top ]

method submitString [line 148]

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_Group::submitString()

Parameters:

array   $data   Form data

[ Top ]


Class Constants

HAS_CONFIG =  true

[line 54]


[ Top ]



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