tangra logo
   
[ class tree: tangra_lib ] [ index: tangra_lib ] [ all elements ]
 

Class: Form_Field_View

Source Location: /form/fields/form_field_view.class.php

Class Form_Field_View

Descendants
Child Class Description
Form_Field_File_View View class for Form_Field_File
Form_Field_Select_View View class for Form_Field_Select
Form_Field_Select_Semidynamic_View View class for Form_Field_Select_View
Form_Field_Text_View View class for Form_Field_Text
Form_Field_Checkbox_View View class for Form_Field_Checkbox
Form_Field_Money_View View class for Form_Field_Money
Form_Field_Hidden_View View class for Form_Field_Hidden
Form_Field_Date_Triad_View View class for Form_Field_Date_Triad
Form_Field_Number_NLS_View View class for Form_Field_Number_NLS
Form_Field_Radio_Group_View View class for Form_Field_Radio_Group
Form_Field_Radio_Group_Semidynamic_View Semidynamic view class for Form_Field_Radio_Group

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

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.

[ Top ]
Property Summary
string   $charset   Charset that will be used to prepare data of the field (escaping with htmleentities)
Form_Field   $field   Form_Field object
string   $tpl_name   Field name for template

[ Top ]
Method Summary
Form_Field_View   __construct()   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()   Sets charset that field view will use for escaping field data (i.e. htmlentities)

[ Top ]
Properties
string   $charset [line 49]

Charset that will be used to prepare data of the field (escaping with htmleentities)

API Tags:
Access:  protected


[ Top ]
Form_Field   $field [line 42]

Form_Field object

API Tags:
Internal:  
Access:  protected


[ Top ]
string   $tpl_name [line 35]

Field name for template

API Tags:
Internal:  
Access:  private


[ Top ]
Methods
Constructor __construct  [line 58]

  Form_Field_View __construct( string $tpl_name, Form_Field $field, [ $charset = 'UTF-8']  )

Constructor

Parameters:
string   $tpl_name: 
Form_Field   $field: 
   $charset: 


Redefined in descendants as:

[ Top ]
get_charset  [line 135]

  string get_charset( )

Returns charset


API Tags:
Access:  public


[ Top ]
get_field_value  [line 102]

  unknown get_field_value( )

Returns field value


API Tags:
Access:  protected


[ Top ]
get_tple_exports  [line 70]

  TPLE_Exports get_tple_exports( )

Returns TPLE exports


API Tags:
Access:  public


Redefined in descendants as:

[ Top ]
get_tpl_name  [line 92]

  string get_tpl_name( )

Returns field name for template


API Tags:
Access:  public


[ Top ]
is_field_in_error  [line 112]

  unknown is_field_in_error( )

Checks if field is in error


API Tags:
Access:  protected


[ Top ]
set_charset  [line 124]

  void set_charset( string $charset  )

Sets charset that field view will use for escaping field data (i.e. htmlentities)

Parameters:
string   $charset: 

API Tags:
Access:  public


[ Top ]