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
 1: <?php
 2: /**
 3:  * Define an interface for all ODD importable objects.
 4:  *
 5:  * @package    Elgg.Core
 6:  * @subpackage DataModel.Importable
 7:  */
 8: interface Importable {
 9:     /**
10:      * Accepts an array of data to import, this data is parsed from the XML produced by export.
11:      * The function should return the constructed object data, or NULL.
12:      *
13:      * @param ODD $data Data in ODD format
14:      *
15:      * @return bool
16:      * @throws ImportException if there was a critical error importing data.
17:      */
18:     public function import(ODD $data);
19: }
20: 
API documentation generated by ApiGen 2.8.0