Elgg  Version 1.9
Public Member Functions | List of all members
Importable Interface Reference
Inheritance diagram for Importable:
ElggEntity ElggRelationship ElggGroup ElggObject ElggSite ElggUser Represents ElggComment ElggFile ElggPlugin ElggUpgrade ElggWidget

Public Member Functions

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

Detailed Description

Definition at line 9 of file Importable.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$dataData in ODD format
Returns
bool
Exceptions
ImportExceptionif there was a critical error importing data.

Implemented in ElggEntity, and ElggRelationship.


The documentation for this interface was generated from the following file: