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

Classes

  • ElggTranslit
  • ODDRelationship
  • Overview
  • Package
  • Class
  • Tree
 1: <?php
 2: /**
 3:  * ODD Relationship class.
 4:  *
 5:  * @package    Elgg
 6:  * @subpackage Core
 7:  */
 8: class ODDRelationship extends ODD {
 9: 
10:     /**
11:      * New ODD Relationship
12:      *
13:      * @param string $uuid1 First UUID
14:      * @param string $type  Type of telationship
15:      * @param string $uuid2 Second UUId
16:      */
17:     function __construct($uuid1, $type, $uuid2) {
18:         parent::__construct();
19: 
20:         $this->setAttribute('uuid1', $uuid1);
21:         $this->setAttribute('type', $type);
22:         $this->setAttribute('uuid2', $uuid2);
23:     }
24: 
25:     /**
26:      * Returns 'relationship'
27:      *
28:      * @return string 'relationship'
29:      */
30:     protected function getTagName() {
31:         return "relationship";
32:     }
33: }
34: 
API documentation generated by ApiGen 2.8.0