View class for Form_Field
Located in /form/fields/form_field_view.class.php [line 28]
Tangra_Class | --Form_Field_View
Properties
Methods
Inherited From Tangra_Class
Tangra_Class::get_class_name() Alias of get_class(). Exist because of historical reasons. Tangra_Class::__set() Overides PHP built-in method and just throws exception if called. Purpose - to "forbid" autosetting of nonexisting class properties.
Charset that will be used to prepare data of the field (escaping with htmleentities)
Form_Field object
Field name for template
Form_Field_View __construct( string $tpl_name, Form_Field $field, [ $charset = 'UTF-8'] )
Constructor
string get_charset( )
Returns charset
unknown get_field_value( )
Returns field value
TPLE_Exports get_tple_exports( )
Returns TPLE exports
string get_tpl_name( )
Returns field name for template
unknown is_field_in_error( )
Checks if field is in error
void set_charset( string $charset )
Sets charset that field view will use for escaping field data (i.e. htmlentities)