BEE Script: ObjName%funcname [name=value ...];
BEE Tag: <beeObjName%funcname [name=value ...]>
When calling a function in the above format, it will first find the function funcname from the object ObjName. The object's function needs to be set in the constructor using "var this%function:funcnam = "actual_function_name", where the actual_function_name is a name defined with the "function" command.
If the function name of the object is not set, the actual function of the same name will be called.
There are three extra arguments that can be accessed within the function: arg%function:this, which evaluates to ObjName, arg%function:thisfunction, which evaluates to funcname, and arg%function:function, which evaluates to actual_function_name.
Note: ObjName can be a BEE Variable. However, the current version of the parser handle BEE Variable as ObjName only if there is no space, ">" or "]" in the variable syntax. e.g. {v}%func; is OK, but {v|replace:\ ,x}%func is not because of the space in the conversion argument.
|