Something went wrong. Try again.
Element Exporter makes exporting data from your Craft CMS website easy and repeatable, with events for custom data parsing and elements.
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849<?php
namespace studioespresso\exporter\services;
use craft\base\Component;use craft\elements\Category;use craft\elements\Entry;use craft\elements\Tag;use craft\fields\PlainText;use studioespresso\exporter\services\formats\Xlsx;use verbb\formie\fields\formfields\Email;use verbb\formie\fields\formfields\MultiLineText;use verbb\formie\fields\formfields\Name;
class ExportConfigurationService extends Component{ public function getAvailableElementTypes() {// $types = [// Entry::class,// Category::class,// Tag::class,// ];//// return ['Craft' => $types]; }
public function getAvailableFileTypes() {// $types = [// Xlsx::class => 'Excel (xlsx)'// ];//// return $types; }
public function getSupportedFieldTypes() {// $fields = [// PlainText::class,// MultiLineText::class,// Name::class,// Email::class// ];//// return $fields; }}