Page HTMLPage DevKit

public class DevKit extends HTMLPage

class.devkit.php #15

Devkit extends the HTMLPage class to provide an object representation of a Symphony Devkit page. Devkit's are used to aid in debugging by providing raw XML representations of data sources and parameters and to help provide profiling. There are two Symphony Devkit's currently, Debug and Profile. Devkit pages are restricted to Symphony Author's and require them to be authenticated to view them.

Methods

string build()

Called when page is generated, this function calls each of the other other functions in this page to build the Header, the Navigation, the Jump menu and finally the content. This function calls it's parent generate function

See Also
void prepare(XSLTPage $page, array $pagedata, string $xml, array $param, string $output)

The prepare function acts a pseudo constructor for the Devkit, setting some base variables with the given parameters

Parameters
  • $page XSLTPageAn instance of the XSLTPage, usually FrontendPage

  • $pagedata arrayAn associative array of the details of the Page that is being 'Devkitted'. The majority of this information is from tbl_pages table.

  • $xml stringThe XML of the page that the XSLT will be applied to, this includes any datasource results.

  • $param arrayAn array of the page parameters, including those provided by datasources.

  • $output stringThe resulting Page after it has been transformed, as a string. This is similar to what you would see if you 'view-sourced' a page.

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