interface ImporterInterface in Loft Data Grids 7.2
Hierarchy
- interface \AKlump\LoftDataGrids\ImporterInterface
Expanded class hierarchy of ImporterInterface
All classes that implement ImporterInterface
File
- vendor/
aklump/ loft_data_grids/ src/ AKlump/ LoftDataGrids/ ImporterInterface.php, line 7
Namespace
AKlump\LoftDataGridsView source
interface ImporterInterface {
/**
* Return info about this class
*
* @return array
* - name string The human name of this importer
* - shortname string A more concise human name for ui elements like
* option lists
* - description string A further description
* - extension string The file extension used by this class
*/
public function getInfo();
/**
* Import data from a format returning and ExportData object.
*
* @param string $string The data as returned by an ExporterClass::export().
*
* @return mixed
*/
public function import($string);
/**
* Adds/Updates a single setting by name.
*
* You can also use $this->getSettings()->{name} = {value}.
*
* @param string $name
* @param mixed $value
*
* @return $this
*/
public function addSetting($name, $value);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ImporterInterface:: |
public | function | Adds/Updates a single setting by name. | 1 |
ImporterInterface:: |
public | function | Return info about this class | 1 |
ImporterInterface:: |
public | function | Import data from a format returning and ExportData object. | 1 |