User Tools

Site Tools


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

This is an old revision of the document!


Table of Contents

<#Property>

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.1357830383.txt.gz · Last modified: 2013/01/10 19:06 by admin