Properties
Properties existing in the Solar_View_Helper_Form
class.
Public
None.
Protected
$_Solar_View_Helper_Form
(array) Default configuration values.
$_attribs_auto
(array) Attributes for the form tag set via the auto() method.
$_attribs_form
(array) All form attributes from all sources merged into one array.
$_attribs_view
(array) Attributes for the form tag set from the view-helper level.
$_config
(array) Collection point for configuration values.
Inherited from Solar_Base.
Note that you do not define config defaults in $_config directly.
<?php
// DO NOT DO THIS
protected $_config = array(
'foo' => 'bar',
'baz' => 'dib',
);
Instead, define config defaults in a protected property named for the class, withan underscore prefix.
For exmple, a "Vendor_Class_Name" class would define the default config array in "$_Vendor_Class_Name". This convention lets child classes inherit parent config keys and values.
<?php
// DO THIS INSTEAD
protected $_Vendor_Class_Name = array(
'foo' => 'bar',
'baz' => 'dib',
);
$_csrf
(Solar_Csrf) Cross-site request forgery detector.
$_css_class
(array) CSS classes to use for element and feedback types.
Array format is type => css-class.
$_decorator_attribs
(array) When building XHTML for each of these parts of the form, use these attributes in its opening tag.
$_default_attribs
(array) Default form tag attributes.
$_default_info
(array) Default info for each element.
$_descr_part
(string) Which form part the element description goes in: 'label' or 'value'.
$_feedback
(array) Collection of form-level feedback messages.
$_group_invalid
(string) When building a group of elements, collect the "invalid" messages here.
$_id_count
(array) Tracks element IDs so we can have unique IDs for each element.
$_in_elemlist
(bool) When building the form, are we currently in an element list?
$_in_fieldset
(bool) When building the form, are we currently in a fieldset?
$_in_group
(bool) When building the form, are we currently in a grouping?
$_label_suffix
(string) Add this suffix to all labels.
$_request
(Solar_Request) Details about the request environment.
$_stack
(array) Stack of element and layout pieces for the form.
$_status
(bool) The current failure/success status.
Private
None.