public interface iEvent

class.event.php #10

The iEvent interface provides two functions, about and load that Events can implement.

Methods

public static
class.event.php #17
static array about()

Return an associative array of meta information about this event such creation date, who created it and the name.

mixed load()

The load functions determines whether an event will be executed or not by comparing the Event's action with the $_POST data. This function will be called every time a page is loaded that an event is attached too. If the action does exist, it typically calls the __trigger() method, otherwise void.

Returns

XMLElement with the event result or void if the action did not match

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