Extenders allow you to attach extended information to an ElggEntity. Core supports two: ElggAnnotation, ElggMetadata, and ElggRelationship Saving the extender data to database is handled by the child class.
또한 보기: ElggAnnotation
또한 보기: ElggMetadata
상속: extends ElggData
예제 #1
0
 protected function initializeAttributes()
 {
     parent::initializeAttributes();
     $this->attributes['type'] = "metadata";
 }
 /**
  * (non-PHPdoc)
  *
  * @see ElggData::initializeAttributes()
  *
  * @return void
  */
 protected function initializeAttributes()
 {
     parent::initializeAttributes();
     $this->attributes['type'] = 'annotation';
 }