This class is used to filter SILEX accessors. It is a singleton pattern.
| org. | This class is used to filter SILEX accessors. |
| Variables | |
| silex_ptr | Reference to silex main Api object (org.silex.core.Api). |
| Functions | |
| Filter | Constructor. |
| filterExist | test if a filter exists |
| exec | Call the method corresponding to the desired filter. |
| urlencode | URLencode the string @example <<urlencode silex.rootUrl>> returns the urlencoded version of the url of the server |
| urlencode2 | double URLencode the string @example <<urlencode silex.rootUrl>> returns the 2x urlencoded version of the url of the server |
function exec( filter_name_str: String, value_to_filter, parameters_array: Array, initial_source_mc: Object )
Call the method corresponding to the desired filter.
| filter_name_str | name of the filter |
| value_to_filter | value which has to be filtered |
| parameters_array | optionnal parameters |
| initial_source_mc | optionnal source object |
null if an error occured or the filter value
Reference to silex main Api object (org.silex.core.Api).
private var silex_ptr: org.silex.core.Api
Constructor.
function Filter( api: org.silex.core.Api )
test if a filter exists
function filterExist( filter_name_str: String ):Boolean
Call the method corresponding to the desired filter.
function exec( filter_name_str: String, value_to_filter, parameters_array: Array, initial_source_mc: Object )
URLencode the string @example <<urlencode silex.rootUrl>> returns the urlencoded version of the url of the server
function urlencode( value_to_filter: String ):String
double URLencode the string @example <<urlencode silex.rootUrl>> returns the 2x urlencoded version of the url of the server
function urlencode2( value_to_filter: String ):String