public interface ExportableField

interface.exportablefield.php #14

The ExportableField interface defines the functions required to implement the field export API proposal.

Constants

static int AUTHOR = 1104

Select an author ID from a field.

static int BOOLEAN = 1101

Select a boolean from a field.

static int ENTRY = 1103

Select an entry ID from a field.

static int FORMATTED = 1108

Select formatted values from a field.

static int HANDLE = 1105

Select handles from a field.

static int LIST_OF = 1100

Select an array of values from a field.

static int OBJECT = 1102

Select an object from a field.

static int POSTDATA = 1107

Select raw values from a field, as expected by prepareImportValue.

static int UNFORMATTED = 1109

Select unformatted values from a field.

static int VALUE = 1106

Select raw values from a field, oriented towards the human readable.

Methods

array getExportModes()

Return a list of supported export modes for use with prepareExportValue.

mixed prepareExportValue(mixed $data, integer $mode, integer $entry_id)

Give the field some data and ask it to return a value using one of many possible modes.

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