_FIELD Methods

As shown in the examples from previous chapters each field can also be uniquely configured. Here's the list of the FIELD methods:

Method Name Attribute/Parameter Name Description Example Usage
_ALIAS   A field name alias. <%method id_referente_ALIAS>id_socio</%method>
_CHECK   The method that verifies the specified field.
It can be <field_name>_CHECK or
<alias>_CHECK
 
_FIELD   A _FIELD method determines how the field should be displayed. Examples of _FIELD method usage:
Adding Field Method,
Adding Select Field,
Adding HtmlSelect Field,
Adding DivSelect Field,
Adding Child Frame
There are also a couple of examples of _FIELD methods in the global_autohandler file.
  select_name_prefix    
  select_from The select_from is used for setting additional parameters to a select widget to optimize data transfer from server to the browser.
_OUT_FILTER   If the method is defined, applies the filter to the output of the specified field. Returns an array with two fields (value, parameter).  
  $field A field name.  
  $key A primary key value.  
  $value A field value.  
  $names An array of the field names.  
  $fetch_row A hash of the field values.  
  $comp A component (.mql), if not defined using the basic component.  
  $noparam If set to 1, it does not retrieve the parameters (used to optimize in cases where they are not used)  
_NAME_PREFIX      
_FROM      
Topic revision: r7 - 22 Apr 2018, GuidoBrugnara
This site is powered by FoswikiCopyright (©) Leader.IT - Italy P.I. IT01434390223 Privacy policy & use of cookies