Form/Decorator/Fieldset.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework
LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Form  
Subpackage
Decorator  

\Zend_Form_Decorator_Fieldset

Package: Zend_Form\Decorator
Zend_Form_Decorator_Fieldset
Any options passed will be used as HTML attributes of the fieldset tag.
Parent(s)
\Zend_Form_Decorator_Abstract
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Version
$Id$  

Properties

>VPropertyprotectedstring $_legend
Fieldset legend
Details
Type
string
>VPropertyprotectedstring $_placement = null
Default placement: surround content
Default valuenullDetails
Type
string
>VPropertypublicarray $stripAttribs = array('action', 'enctype', 'helper', 'method', 'name', 'accept-charset')
Attribs that should be removed prior to rendering
Default valuearray('action', 'enctype', 'helper', 'method', 'name', 'accept-charset')Details
Type
array

Methods

methodpublicgetLegend() : string

Get legend

Returns
TypeDescription
string
methodpublicgetOptions() : array

Get options

Merges in element attributes as well.
Returns
TypeDescription
array
methodpublicrender(string $content) : string

Render a fieldset

Parameters
NameTypeDescription
$contentstring
Returns
TypeDescription
string
methodpublicsetLegend(string $value) : \Zend_Form_Decorator_Fieldset

Set legend

Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
\Zend_Form_Decorator_Fieldset
Documentation was generated by phpDocumentor 2.2.0 .