User Tools

Site Tools


en:public:developer:template_system:tags:property:property

Table of Contents

<#Property>

When the tag <#Property> is call without any path (like <#Property.id> for exemple) then it is the Constructor of a TProperty object. The new created object will be available via the var named property

Parameters

Name Mandatory Description
ID Yes The alphanumeric (ex: CA-T1) of numeric (ex: 901539542673129473) of the property
Template No On success, Parse this template with the new created TProperty object, return the result and free the object
Template_error No On error, parse this template, return the result and free the object

Example

<#property ID="CA-T1"
           template="<b><#property.titles['usa']><b> - <#property.city>"
           template_error="Could not load the property details">

The above example will output:

<b>Luxury Vacation Villa Rental in Super Cannes</b> - Cannes
en/public/developer/template_system/tags/property/property.txt · Last modified: 2013/01/13 23:53 by admin