15.08.2013 Views

Ektron CMS400.NET Developer Reference Manual

Ektron CMS400.NET Developer Reference Manual

Ektron CMS400.NET Developer Reference Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Custom PHP Functions<br />

This function is basically the same as the XML Collection function<br />

in ASP. See ”XML Collection Function” on page 427 for details.<br />

The only difference between the PHP function and the ASP one is<br />

the syntax for implementing it. The PHP example is below.<br />

<br />

RSS Collection Function<br />

Random Content Function<br />

The RSS collection function is used to create an XML list of links<br />

that were created as a collection in the <strong>Ektron</strong> <strong>CMS400.NET</strong><br />

Workarea and display them in RSS Syndication.<br />

Shown here is the PHP format of the ecmRssCollection function.<br />

<br />

This function is basically the same as the RSS Collection function<br />

in ASP. See ”RSS Collection Function” on page 425 for details.<br />

The only difference between the PHP function and the ASP one is<br />

the syntax for implementing it.<br />

The random content function is used to randomly display the<br />

content of a content block that belongs in a specified collection.<br />

Displayed here is the format for the random content function<br />

<br />

This function is basically the same as the Random Content<br />

function in ASP. See ”Random Content” on page 432 for details.<br />

<strong>Ektron</strong> <strong>CMS400.NET</strong> <strong>Developer</strong> <strong>Reference</strong> <strong>Manual</strong>, Version 5.1, Revision 5 505

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!