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

Class: Form_Field_Select_Semidynamic_View

Source Location: /form/fields/select/form_field_select_semidynamic_view.class.php

Class Form_Field_Select_Semidynamic_View

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Form_Field_View

Form_Field_View::$charset
Form_Field_View::$field
Form_Field_View::$tpl_name

Inherited From Form_Field_View

Form_Field_View::__construct()
Constructor
Form_Field_View::get_charset()
Returns charset
Form_Field_View::get_field_value()
Returns field value
Form_Field_View::get_tple_exports()
Returns TPLE exports
Form_Field_View::get_tpl_name()
Returns field name for template
Form_Field_View::is_field_in_error()
Checks if field is in error
Form_Field_View::set_charset()
Sets charset that field view will use for escaping field data (i.e. htmlentities)

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
array   $options_labels_map   Labels map

[ Top ]
Method Summary
string   get_option_label()   Returns label for option specified by $value
TPLE_Exports   get_tple_exports()   Returns TPLE exports
void   set_ol_map()   Sets labels map using array

[ Top ]
Properties
array   $options_labels_map = array() [line 32]

Labels map

API Tags:
Internal:  
Access:  protected


[ Top ]
Methods
get_option_label  [line 88]

  string get_option_label( integer $value  )

Returns label for option specified by $value

Parameters:
integer   $value:  Value of the option

API Tags:
Access:  private


[ Top ]
get_tple_exports  [line 58]

  TPLE_Exports get_tple_exports( )

Returns TPLE exports


API Tags:
Access:  public


Redefinition of:
Form_Field_View::get_tple_exports()
Returns TPLE exports

[ Top ]
set_ol_map  [line 44]

  void set_ol_map( array $ol_arr  )

Sets labels map using array

$ol_arr must be an array in form: $ol_arr[option_value] = option_label; Example: $ol_arr[1] = 'one';

Parameters:
array   $ol_arr: 

API Tags:
Access:  public


[ Top ]