Datasource NavigationDatasource

public class NavigationDatasource extends Datasource

class.datasource.navigation.php #13

The NavigationDatasource outputs the Symphony page structure as XML. This datasource supports filtering to narrow down the results to only show pages that match a particular page type, have a specific parent, etc.

Methods

void __buildPageXML(mixed $page, mixed $page_types)
void __processNavigationParentFilter(mixed $parent)
void __processNavigationTypeFilter(mixed $filter, mixed $filter_type)
XMLElement execute(array $param_pool)

The meat of the Datasource, this function includes the datasource type's file that will preform the logic to return the data for this datasource It is passed the current parameters.

Parameters
  • $param_pool arrayThe current parameter pool that this Datasource can use when filtering and finding Entries or data.

Returns

The XMLElement to add into the XML for 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