SAPID Encyclopedia  
Sapid   SAPID-Club (English, Russian, Portuguese forums) SAPID-Workshop (Project and developer charts) SAPID-Wiki (SAPID Live Encyclopedia) SAPID-Farm (The best place for a SAPID-based project)
eXTReMe Tracker
HomeDocumentationXML Sapiens Hand-bookDDC Call Parameters

DDC Call Parameters

If it is necessary to use in templates one and the same DDC, but differently, depenting on its position, it is possible to indicate DDC call parameters for further analysis of they values in DDC conditions. Delivery of DDC parameters is perfomed in the following way:

<sapi:apply name="ddc.obj1.value">
<sapi:param name="pvar1">Value of param 1</sapi:param>
<sapi:param name="pvar2">Value of param 2</sapi:param>

Values of DDC parameters will be available in DDC conditions in the following variables: this.param.pvar1.value and this.param.pvar2.value

User Contributed Notes

January 01, 1970 00:00
Add a note

Your email address/name
Your notes
Red Graphic Systems Sponsored