API results for “export”
Pages Export/Import module
Enables exporting and importing of pages. Development version, not yet recommended for production use.
$forms->exportJSON($form) apivar.method
Return the JSON schema for the given form (name, ID or object)
$fieldgroups->getExportData(Fieldgroup $fieldgroup) apivar.method
Export config data for the given fieldgroup
$fieldgroups->setImportData(Fieldgroup $fieldgroup, array $data) apivar.method
Given an export data array, import it back to the class and return what happened
$templates->getExportData(Template $template) apivar.method
Export Template data for external use
$templates->setImportData(Template $template, array $data) apivar.method
Given an array of Template export data, import it to the given Template
$pages->porter() apivar.method
Get new instance of PagesExportImport for exporting and importing pages
Fieldtype::exportConfigData(Field $field, array $data) class.method
Export configuration values for external consumption
Fieldtype::importConfigData(Field $field, array $data) class.method
Convert an array of exported data to a format that will be understood internally
Fieldtype::exportValue(Page $page, Field $field, $value, array $options = []) class.method
Given a value, return an portable version of it as either a string, int, float or array
$forms->exportJSON($form) class.method
Return the JSON schema for the given form (name, ID or object)
FieldtypeRepeaterMatrix::exportConfigData(Field $field, array $data) class.method
Export configuration values for external consumption
FieldtypeRepeaterMatrix::importConfigData(Field $field, array $data) class.method
Convert an array of exported data to a format that will be understood internally
$backup->backup(array $options = []) class.method
Perform a database export/dump
FieldtypeComments::exportValue(Page $page, Field $field, $value, array $options = []) class.method
Export value
FieldtypeDatetime::exportValue(Page $page, Field $field, int $value, array $options = []) class.method
Export value
FieldtypeFile::exportValue(Page $page, Field $field, $value, array $options = []) class.method
Export value
FieldtypeImage::exportValue(Page $page, Field $field, $value, array $options = []) class.method
Export a Pageimages value to a portable PHP array
FieldtypeOptions::exportConfigData(Field $field, array $data) class.method
Export configuration values for external consumption
FieldtypeOptions::importConfigData(Field $field, array $data) class.method
Convert an array of exported data to a format that will be understood internally (opposite of exportConfigData)
FieldtypePage::exportValue(Page $page, Field $field, $value, array $options = []) class.method
Export value
FieldtypePage::exportConfigData(Field $field, array $data) class.method
Export configuration values for external consumption
FieldtypePage::importConfigData(Field $field, array $data) class.method
Convert an array of exported data to a format that will be understood internally
FieldtypePageTable::exportConfigData(Field $field, array $data) class.method
Export configuration values for external consumption
FieldtypePageTable::importConfigData(Field $field, array $data) class.method
Convert an array of exported data to a format that will be understood internally (opposite of exportConfigData)