This shows you the differences between two versions of the page.
en:public:developer:template_system:tags:start [2015/05/19 16:54] svanderclock |
en:public:developer:template_system:tags:start [2016/03/22 15:45] (current) svanderclock [Reserved Get/Post Parameters] |
||
---|---|---|---|
Line 26: | Line 26: | ||
| [[en:public:developer:template_system:tags:parameters:NoOutput]] | parameter | all tags | return empty string | | | [[en:public:developer:template_system:tags:parameters:NoOutput]] | parameter | all tags | return empty string | | ||
| [[en:public:developer:template_system:tags:parameters:PreserveNullStr]] | parameter | all tags | Do not replace null result by an empty string | | | [[en:public:developer:template_system:tags:parameters:PreserveNullStr]] | parameter | all tags | Do not replace null result by an empty string | | ||
- | | [[en:public:developer:template_system:tags:parameters:RtfEncode]] | parameter | all tags | RTF encode the returning value | | ||
| [[en:public:developer:template_system:tags:parameters:SentenceCase]] | parameter | all tags | First letter of the sentence capitalized, all others lower case | | | [[en:public:developer:template_system:tags:parameters:SentenceCase]] | parameter | all tags | First letter of the sentence capitalized, all others lower case | | ||
| [[en:public:developer:template_system:tags:parameters:StripHtmlTags]] | parameter | all tags | remove all html tags from the output | | | [[en:public:developer:template_system:tags:parameters:StripHtmlTags]] | parameter | all tags | remove all html tags from the output | | ||
| [[en:public:developer:template_system:tags:parameters:SetValue]] | parameter | all tags | Set a value to a custom var | | | [[en:public:developer:template_system:tags:parameters:SetValue]] | parameter | all tags | Set a value to a custom var | | ||
| [[en:public:developer:template_system:tags:parameters:TitleCase]] | parameter | all tags | First letter of each word is capitalized, the rest are lower case | | | [[en:public:developer:template_system:tags:parameters:TitleCase]] | parameter | all tags | First letter of each word is capitalized, the rest are lower case | | ||
+ | | [[en:public:developer:template_system:tags:parameters:Trim]] | parameter | all tags | Trims leading and trailing spaces and control characters from a string. | | ||
| [[en:public:developer:template_system:tags:parameters:UpperCase]] | parameter | all tags | Uppercase the returning value | | | [[en:public:developer:template_system:tags:parameters:UpperCase]] | parameter | all tags | Uppercase the returning value | | ||
| [[en:public:developer:template_system:tags:parameters:XmlEncode]] | parameter | all tags | XML/XHTML encode the returning value | | | [[en:public:developer:template_system:tags:parameters:XmlEncode]] | parameter | all tags | XML/XHTML encode the returning value | | ||
Line 53: | Line 53: | ||
| <#[[en:public:developer:template_system:tags:api:Get_GeoPlaces]]> | Function | anywhere | API Function to retrieve list of geo places | | | <#[[en:public:developer:template_system:tags:api:Get_GeoPlaces]]> | Function | anywhere | API Function to retrieve list of geo places | | ||
| <#[[en:public:developer:template_system:tags:api:Get_GeoPlace]]> | Function | anywhere | API Function to retrieve detail of one geo place | | | <#[[en:public:developer:template_system:tags:api:Get_GeoPlace]]> | Function | anywhere | API Function to retrieve detail of one geo place | | ||
+ | | <#[[en:public:developer:template_system:tags:api:Get_Object_Ids]]> | Function | anywhere | API Function to retrieve list of object ids via keywords | | ||
+ | | <#[[en:public:developer:template_system:tags:api:Set_prospect]]> | Function | anywhere | API Function to add or update a prospect | | ||
| <#[[en:public:developer:template_system:tags:api:Get_wwwfile_content]]> | Function | anywhere | API Function to retrieve the raw content of a template file | | | <#[[en:public:developer:template_system:tags:api:Get_wwwfile_content]]> | Function | anywhere | API Function to retrieve the raw content of a template file | | ||
| <#[[en:public:developer:template_system:tags:api:Set_wwwfile_content]]> | Function | anywhere | API Function to set the raw content of a template file | | | <#[[en:public:developer:template_system:tags:api:Set_wwwfile_content]]> | Function | anywhere | API Function to set the raw content of a template file | | ||
Line 79: | Line 81: | ||
^ Syntax ^ Type ^ Context ^ Description ^ | ^ Syntax ^ Type ^ Context ^ Description ^ | ||
+ | | <#[[en:public:developer:template_system:tags:debug:AdminLog_Enabled]]> | function | anywhere | If the engine is build with admin log | | ||
| <#[[en:public:developer:template_system:tags:debug:Beta_Enabled]]> | function | anywhere | If the engine is build for "beta" | | | <#[[en:public:developer:template_system:tags:debug:Beta_Enabled]]> | function | anywhere | If the engine is build for "beta" | | ||
- | | <#[[en:public:developer:template_system:tags:debug:Debug_Enabled]]> | function | anywhere | If the engine is build for "debug" | | + | | <#[[en:public:developer:template_system:tags:debug:Debug_Enabled]]> | function | anywhere | If the engine is build in "debug" mode | |
| <#[[en:public:developer:template_system:tags:debug:Debug_TimeTaken]]> | function | anywhere | the total time taken of the current request | | | <#[[en:public:developer:template_system:tags:debug:Debug_TimeTaken]]> | function | anywhere | the total time taken of the current request | | ||
| <#[[en:public:developer:template_system:tags:debug:Debug_Templates_Used]]> | var ([[en:public:developer:template_system:tags:string:TStringList]]) | anywhere | The list of templates used by the current request | | | <#[[en:public:developer:template_system:tags:debug:Debug_Templates_Used]]> | var ([[en:public:developer:template_system:tags:string:TStringList]]) | anywhere | The list of templates used by the current request | | ||
Line 164: | Line 167: | ||
| <#[[en:public:developer:template_system:tags:miscellaneous:Frame]]> | function | anywhere | Return content from template or tag result | | | <#[[en:public:developer:template_system:tags:miscellaneous:Frame]]> | function | anywhere | Return content from template or tag result | | ||
| <#[[en:public:developer:template_system:tags:miscellaneous:Script]]> | function | anywhere | Compress JavaScript | | | <#[[en:public:developer:template_system:tags:miscellaneous:Script]]> | function | anywhere | Compress JavaScript | | ||
- | | <#[[en:public:developer:template_system:tags:miscellaneous:Content_type]]> | var (string) | anywhere | Return the The MIME type of the content response | | ||
| <#[[en:public:developer:template_system:tags:miscellaneous:Mobile]]> | function | anywhere | Return 1 if mobile version or 0 if desktop version | | | <#[[en:public:developer:template_system:tags:miscellaneous:Mobile]]> | function | anywhere | Return 1 if mobile version or 0 if desktop version | | ||
| <#[[en:public:developer:template_system:tags:miscellaneous:Now]]> | function | anywhere | Return the current date with time | | | <#[[en:public:developer:template_system:tags:miscellaneous:Now]]> | function | anywhere | Return the current date with time | | ||
Line 173: | Line 175: | ||
^ Syntax ^ Type ^ Context ^ Description ^ | ^ Syntax ^ Type ^ Context ^ Description ^ | ||
- | | <#[[en:public:developer:template_system:tags:Page:Page_Cfg]]> | var (TXMLNode) | anywhere | Return the configuration xml of the current page | | + | | <#[[en:public:developer:template_system:tags:pagescfg:Page_Cfg]]> | var (TXMLNode) | anywhere | Return the configuration xml of the current page | |
- | | <#[[en:public:developer:template_system:tags:Page:Page_Title]]> | function | anywhere | Return the title of the current page | | + | | <#[[en:public:developer:template_system:tags:pagescfg:Page_Title]]> | function | anywhere | Return the title of the current page | |
- | | <#[[en:public:developer:template_system:tags:Page:Page_Name]]> | function | anywhere | Return the name of the current page | | + | | <#[[en:public:developer:template_system:tags:pagescfg:Page_Name]]> | function | anywhere | Return the name of the current page | |
- | | <#[[en:public:developer:template_system:tags:Page:Page_Id]]> | function | anywhere | Return the id of the current page | | + | | <#[[en:public:developer:template_system:tags:pagescfg:Page_Id]]> | function | anywhere | Return the id of the current page | |
Line 196: | Line 198: | ||
| <#[[en:public:developer:template_system:tags:propertyalert:propertyalerts]]> | var ([[en:public:developer:template_system:tags:propertyalert:TPropertyalerts]]) | anywhere | Retrieve the details of several property alerts | | | <#[[en:public:developer:template_system:tags:propertyalert:propertyalerts]]> | var ([[en:public:developer:template_system:tags:propertyalert:TPropertyalerts]]) | anywhere | Retrieve the details of several property alerts | | ||
+ | ===== Prospect related tags ===== | ||
+ | |||
+ | ^ Syntax ^ Type ^ Context ^ Description ^ | ||
+ | | <#[[en:public:developer:template_system:tags:prospect:prospect]]> | var ([[en:public:developer:template_system:tags:prospect:Tprospect]]) | anywhere | Retrieve the details of one prospect | | ||
+ | | <#[[en:public:developer:template_system:tags:prospect:prospects]]> | var ([[en:public:developer:template_system:tags:prospect:Tprospects]]) | anywhere | Retrieve the details of several prospects | | ||
+ | |||
+ | ===== Activity related tags ===== | ||
+ | |||
+ | ^ Syntax ^ Type ^ Context ^ Description ^ | ||
+ | | <#[[en:public:developer:template_system:tags:activity:activity]]> | var ([[en:public:developer:template_system:tags:activity:Tactivity]]) | anywhere | Retrieve the details of one activity | | ||
+ | | <#[[en:public:developer:template_system:tags:activity:activities]]> | var ([[en:public:developer:template_system:tags:activity:Tactivities]]) | anywhere | Retrieve the details of several activities | | ||
===== Repository tags ===== | ===== Repository tags ===== | ||
Line 231: | Line 244: | ||
^ Syntax ^ Type ^ Context ^ Description ^ | ^ Syntax ^ Type ^ Context ^ Description ^ | ||
| <#[[en:public:developer:template_system:tags:string:datacache]]> | function | anywhere | To cache data in memory | | | <#[[en:public:developer:template_system:tags:string:datacache]]> | function | anywhere | To cache data in memory | | ||
+ | | <#[[en:public:developer:template_system:tags:string:format]]> | function | anywhere | to format values | | ||
+ | | <#[[en:public:developer:template_system:tags:string:frame]]> | function | anywhere | to include the content of another templates | | ||
| <#[[en:public:developer:template_system:tags:string:guid]]> | function | anywhere | return a GUID | | | <#[[en:public:developer:template_system:tags:string:guid]]> | function | anywhere | return a GUID | | ||
| <#[[en:public:developer:template_system:tags:string:nullstr]]> | function | anywhere | Return a null string | | | <#[[en:public:developer:template_system:tags:string:nullstr]]> | function | anywhere | Return a null string | | ||
Line 261: | Line 276: | ||
^ Name ^ Description ^ | ^ Name ^ Description ^ | ||
- | | [[en:public:developer:template_system:reserved_parameters:ak.Session_id]] | The current session ID | | + | | [[en:public:developer:template_system:reserved_parameters:ak_Session_id]] | The current session ID | |
- | | [[en:public:developer:template_system:reserved_parameters:ak.Currency_code]] | The currency code to use for the response | | + | | [[en:public:developer:template_system:reserved_parameters:ak_Currency_code]] | The currency code to use for the response | |
- | | [[en:public:developer:template_system:reserved_parameters:ak.MeasurementSystem]] | The measuremen system to use for the response | | + | | [[en:public:developer:template_system:reserved_parameters:ak_MeasurementSystem]] | The measuremen system to use for the response | |
- | | [[en:public:developer:template_system:reserved_parameters:ak.Login]] | Login of the user | | + | | [[en:public:developer:template_system:reserved_parameters:ak_Login]] | Login of the user | |
- | | [[en:public:developer:template_system:reserved_parameters:ak.Pwd]] | Password of the user | | + | | [[en:public:developer:template_system:reserved_parameters:ak_Pwd]] | Password of the user | |
- | | [[en:public:developer:template_system:reserved_parameters:ak.Stayconnected]] | Auto login the user | | + | | [[en:public:developer:template_system:reserved_parameters:ak_Stayconnected]] | Auto login the user | |
- | | [[en:public:developer:template_system:reserved_parameters:ak.lpkey]] | Encrypted credential | | + | | [[en:public:developer:template_system:reserved_parameters:ak_lpkey]] | Encrypted credential | |
- | | [[en:public:developer:template_system:reserved_parameters:ak.Logout]] | Logout the user | | + | | [[en:public:developer:template_system:reserved_parameters:ak_Logout]] | Logout the user | |
- | | [[en:public:developer:template_system:reserved_parameters:ak.version]] | The version of the Arkadia Script engine | | + | | [[en:public:developer:template_system:reserved_parameters:ak_version]] | The version of the Arkadia Script engine | |
- | | [[en:public:developer:template_system:reserved_parameters:ak.no_datacache]] | ignore all datacache | | + | | [[en:public:developer:template_system:reserved_parameters:ak_no_datacache]] | ignore all datacache | |
===== Reserved Cookie Names ===== | ===== Reserved Cookie Names ===== | ||
^ Name ^ Description ^ | ^ Name ^ Description ^ | ||
- | | [[en:public:developer:template_system:reserved_parameters:ak.Session_id]] | The current session ID | | + | | [[en:public:developer:template_system:reserved_parameters:ak_Session_id]] | The current session ID | |
- | | [[en:public:developer:template_system:dedicatedparameters:ak.Currency_code]] | The currency code to use for the response | | + | | [[en:public:developer:template_system:dedicatedparameters:ak_Currency_code]] | The currency code to use for the response | |
- | | [[en:public:developer:template_system:reserved_parameters:ak.MeasurementSystem]] | The measuremen system to use for the response | | + | | [[en:public:developer:template_system:reserved_parameters:ak_MeasurementSystem]] | The measuremen system to use for the response | |
- | | [[en:public:developer:template_system:reserved_parameters:ak.Language]] | The language to use for the response | | + | | [[en:public:developer:template_system:reserved_parameters:ak_Language]] | The language to use for the response | |
- | | [[en:public:developer:template_system:reserved_parameters:ak.lpkey]] | Encrypted credential | | + | | [[en:public:developer:template_system:reserved_parameters:ak_lpkey]] | Encrypted credential | |
- | | [[en:public:developer:template_system:reserved_parameters:ak.Source]] | The source of the user | | + | | [[en:public:developer:template_system:reserved_parameters:ak_Source]] | The source of the user | |
===== Reserved HTTP Headers ===== | ===== Reserved HTTP Headers ===== |