CMS.vb - Eonic/ProteanCMS GitHub Wiki

GetPageHtml()

Returns the HTML for the page, by first checking if there is a cached version of the page, if not then it will build the page by calling GetPageXml() to return the XML of the content of the page and then parsing it through the XSLT template processor to return the HTML for the page.

GetPageXML()

First Calls BuildPageXml() then it runs a bunch of processes to handle any customer actions or workflows that need to be performed on the page. Such as AddCart(), MembershipProcess(), ContentActions(), Adding Related Content, Processing Reports, Processing Calendars etc.

BuildPageXml()

This is concerned with building the XML for the page and pulling the content for the page from the database.

GetPageContentFromSelect

This will be passed the where portion of a SQL statement and will add content to the page based on the where statement. This funciton contains all the logic to respect page permissions, statuses and wheather you are logged into the admin system. It also calls moDbHelper.AddDataSetToContent which formats the dataset result and adds as the correct XML to the site page.

No content really should be added to the page without calling .AddDataSetToContent otherwise the result will not be consistent.



⚠️ **GitHub.com Fallback** ⚠️