XML Collection Function

The XML collection function wraps XML around the parameters of a list of content that’s created as a collection in the Ektron CMS400.NET Workarea. Once created you can use the XML to display the collection information. The ecmCollectionXML function allows you to easily define how the collection data appears on the Web page.

Shown here is the format of the ecmCollection function.

<?php ecmCollectionXML (id, GetHtml); ?>

This function is basically the same as the XML Collection function in ASP. See XML Collection Function for details.

The only difference between the PHP function and the ASP one is the syntax for implementing it. The PHP example is below.

<?php ecmCollectionXML (3,0); ?>

Previous TopicNext Topic|