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

Class: Cnz_Html_Form_Textarea

Source Location: /Html/Form/Textarea.php

Class Overview

Cnz_Html_Element
   |
   --Cnz_Html_Form_Item
      |
      --Cnz_Html_Form_Textarea

HTML Form Textarea class


Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: Cnz_Html_Form_Item

Cnz_Html_Form_Item::__construct()
Option fields: initial Initial value for this field
Cnz_Html_Form_Item::getLabel()
Cnz_Html_Form_Item::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 52]
HTML Form Textarea class

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

Example INI:


 item.notes.label = Notes
 item.notes.type  = textarea
 item.notes.cols  = 40
 item.notes.rows  = 6
 




[ Top ]


Class Methods


constructor __construct [line 72]

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

Option fields: none

Configuration fields: cols Number of columns rows Number of rows




Tags:

access:  public


Overrides Cnz_Html_Form_Item::__construct() (Option fields: initial Initial value for this field)

Parameters:

array   $options   Options
Zend_Config   $config   Configuration

[ Top ]

method display [line 84]

void display( [string $style = NULL])



Tags:

access:  public


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

Parameters:

string   $style   Value for outermost style attribute

[ Top ]


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