blob: ef772b12e4b176732bd73d3afb014f40df251a1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?php
/**
* Define an interface for all ODD importable objects.
* @author Curverider Ltd
*/
interface Importable {
/**
* Accepts an array of data to import, this data is parsed from the XML produced by export.
* The function should return the constructed object data, or NULL.
*
* @param ODD $data
* @return bool
* @throws ImportException if there was a critical error importing data.
*/
public function import(ODD $data);
}
|