Page HTMLPage AdministrationPage ResourcesPage contentBlueprintsEvents

public class contentBlueprintsEvents extends ResourcesPage

content.blueprintsevents.php #13

The Event Editor allows a developer to create events that typically allow Frontend forms to populate Sections or edit Entries.

Properties

Methods

void __actionEdit()
void __actionIndex(integer $resource_type, string $context, string $file)

Prior to deleting the Event file. Target file path is provided.

Parameters
  • $context string'/blueprints/events/'

  • $file stringThe path to the Event file

void __actionNew(string $context, array $selected, array $options)

Allows adding of new filter rules to the Event filter rule select box

Parameters
  • $context string'/blueprints/events/(edit|new|info)/'

  • $selected arrayAn array of all the selected filters for this Event

  • $options arrayAn array of all the filters that are available, passed by reference

void __form(bool $readonly)
void __formAction()
void __injectAboutInformation(mixed $shell, mixed $details)
void __injectFilters(mixed $shell, mixed $elements)
void __viewEdit()
void __viewIndex(integer $resource_type)

This function contains the minimal amount of logic for generating the index table of a given $resource_type. The table has name, source, pages release date and author columns. The values for these columns are determined by the resource's about() method.

As Datasources types can be installed using Providers, the Source column can be overridden with a Datasource's getSourceColumn method (if it exists).

Parameters
  • $resource_type integerEither RESOURCE_TYPE_EVENT or RESOURCE_TYPE_DATASOURCE

void __viewInfo()
void __viewNew()
static void processDocumentationCode(mixed $code, string $context, string $file, string $previous_file)

After editing the Event, the path to the Event file is provided

Parameters
  • $context string'/blueprints/events/'

  • $file stringThe path to the Event file

  • $previous_file stringThe path of the previous Event file in the case where an Event may have been renamed. To get the handle from this value, see EventManager::__getHandleFromFilename

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