Overview

Packages

  • ClipIt
    • clipit
      • api
    • urjc
      • backend
  • Elgg
    • Core
      • Access
      • Authentication
      • Cache
      • Caches
      • Core
      • DataMode
        • Site
      • DataModel
        • Annotations
        • Entities
        • Extender
        • File
        • Importable
        • Loggable
        • Notable
        • Object
        • User
      • DataStorage
      • Exception
      • Exceptions
        • Stub
      • FileStore
        • Disk
      • Groups
      • Helpers
      • HMAC
      • Memcache
      • Metadata
      • Navigation
      • ODD
      • Output
      • Plugins
        • Settings
      • Sessions
      • SocialModel
        • Friendable
        • Locatable
      • WebServicesAPI
      • Widgets
      • XML
      • XMLRPC
    • Exceptions
      • Stub
  • None
  • PHP

Interfaces

  • Importable
  • Overview
  • Package
  • Class
  • Tree

Interface Importable

Define an interface for all ODD importable objects.

Direct known implementers

ElggEntity, ElggRelationship

Indirect known implementers

ElggFile, ElggGroup, ElggObject, ElggPlugin, ElggSite, ElggUser, ElggWidget
Package: Elgg\Core\DataModel\Importable
Located at Importable.php
Methods summary
public boolean
# 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.

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

$data
ODD
$data Data in ODD format

Returns

boolean

Throws

ImportException
if there was a critical error importing data.
API documentation generated by ApiGen 2.8.0