Page TextPage XMLPage

public abstract class XMLPage extends TextPage

class.xmlpage.php #10

XMLPage extends the Page class to provide an object representation of a Symphony backend XML/AJAX page.

Methods

void __construct()

The constructor for XMLPage. This sets the page status to Page::HTTP_STATUS_OK, the default content type to text/xml and initialises $this->_Result with an XMLElement. The constructor also starts the Profiler for this page template.

See Also
string generate(null $page)

The generate functions outputs the correct headers for this XMLPage, adds $this->getHttpStatusCode() code to the root attribute before calling the parent generate function and generating the $this->_Result XMLElement

See Also
void handleFailedAuthorisation()

This function is called by Administration class when a user is not authenticated to the Symphony backend. It sets the status of this page to Page::HTTP_STATUS_UNAUTHORIZED and appends a message for generation

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details