Importable Interface Reference

Define an interface for all ODD importable objects. More...

Inheritance diagram for Importable:
ElggEntity ElggRelationship ElggGroup ElggObject ElggSite ElggUser ElggFile ElggPlugin ElggWidget

List of all members.

Public Member Functions

 import (ODD $data)
 Accepts an array of data to import, this data is parsed from the XML produced by export.

Detailed Description

Define an interface for all ODD importable objects.

Author:
Curverider Ltd

Definition at line 38 of file export.php.


Member Function Documentation

Importable::import ( ODD data  ) 

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.

Parameters:
ODD $data
Returns:
bool
Exceptions:
ImportException if there was a critical error importing data.

Implemented in ElggEntity, and ElggRelationship.


The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations
Generated on Tue May 21 00:01:29 2013 for Elgg by  doxygen 1.6.3