\CataloguePage
Main Catalogue Page
This page type is used to handle a GeoNetwork search and search-result
visualization. The @see CataloguePage.ss template is used to visualise the
search form and the search result.
Synopsis
class CataloguePage
extends Page
{
- // members
- public static array $db = ;
- public static array $defaults = ;
- protected static string $siteStatus = 'live';
- // methods
- public static void set_site_status()
- public FieldList getCMSFields()
- public static void get_site_status()
- public void onBeforeWrite()
- private string addEndingSlash()
- public void getMaxRecordsPerPage()
Hierarchy
Extends
- Page
Members
protected
- $siteStatus
—
string
This variable defines the status of the website. If it is set to 'setup', the GoeNetwork configuration fields are editable. Otherwise it will be set to read-only. Just a security precaution to prevent users to change the GeoNetwork configuration by accident.
public
- $db
- $defaults
Methods
private
- addEndingSlash() — Adds an ending slash to a string For url, ensures that the URL always has one ending '/'. No pattern matching are performed, i.e. testing syntax or protocol.
public
- getCMSFields()
- getMaxRecordsPerPage()
- get_site_status()
- onBeforeWrite() — Make sure Geonetwork url ends with an /.
- set_site_status()