Add upstream plugins

Signed-off-by: Adrian Nöthlich <git@promasu.tech>
This commit is contained in:
2019-10-25 22:42:20 +02:00
parent 5d3c2ec184
commit 290736650a
1186 changed files with 302577 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
<?php
/**
* The basic import/export interface.
*
* @author Time.ly Network Inc.
* @since 2.0
*
* @package AI1EC
* @subpackage AI1EC.Import-export.Interface
*/
interface Ai1ec_Import_Export_Engine {
/**
* This methods allow for importing of events.
*
* @param array $arguments An array of arguments needed for parsing.
*
* @throws Ai1ec_Parse_Exception When the data passed is not parsable
*
* @return int The number of imported events.
*/
public function import( array $arguments );
/**
* This methods allow exporting events.
*
* @param array $arguments An array of arguments needed for exporting.
* @param array @params An array of export parameters.
*
* @return void It doesn't return anything.
*/
public function export( array $arguments, array $params = array() );
}

View File

@@ -0,0 +1,20 @@
<?php
/**
* The import/export interface for external services.
*
* @author Time.ly Network Inc.
* @since 2.0
*
* @package AI1EC
* @subpackage AI1EC.Import-export.Interface
*/
interface Ai1ec_Import_Export_Service_Engine
extends Ai1ec_Import_Export_Engine {
/**
* Register everything the interface needs into core.
*/
public function register_settings();
}