Documentation

Here you can find all the documentation available for working with the CMS.

CMS

The PageTypeCMS class is the main framework for the CMS. This class initializes and processes the HTTP request, and generates the output for the body of the HTTP response. This class also contains all the base methods for working with the CMS.

Plugins

The PageTypePlugin class is the base class to extend when creating plugins.

Services

The PageTypeService class is the base class to extend when creating services. This class also provides helper methods for use when accessing the service from within a module.

Admin

The PageTypeAdmin class is used as a base for creating a control panel to manage the CMS. This class is provided to help develope back-ends for PageType™.

API

The PageTypeAPI class is the remote API which provides a REST interface to the CMS. This class initializes and processes the HTTP request, and generates the output for the body of the HTTP response.

Client

The PageType object in the JavaScript API provides a client-side interface to the CMS through the PageType™ API.

Snippets

As PHP code is not available when safe-mode is enabled you can use {snippets}. These are special tags which allow you to introduce values into your content, define basic conditional flow control, and use the plugins and services. This also allows admins and designers who don't have knowledge of programming to add functionality to the site without knowledge of PHP. You can find an overview of all available {snippets} in the safe-mode snippets reference.