public interface iProvider

interface.provider.php #12

This interface is to be implemented by Extensions who wish to provide objects for Symphony to use.

Constants

static str ASSOCIATION_EDITOR = 'association-editor'
static str ASSOCIATION_UI = 'association-ui'
static str CACHE = 'cache'
static str DATASOURCE = 'data-sources'
static str EVENT = 'events'

Methods

static array providerOf(string $type)

This function should return an associative array of all the Providable objects this extension provides.

Parameters
  • $type stringThe type of provider object to return, which is one of the iProvider constants. If $type is given, this function should only return objects of this $type, otherwise all providable objects should be returned.

Returns

If no providers are found, then an empty array is returned, otherwise an associative array of classname => human name will be returned. eg. array('RemoteDatasource' => 'Remote Datasource')

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