PHP Class ElggMetadata, Elgg
This class describes metadata that can be attached to an \ElggEntity. It is
rare that a plugin developer needs to use this API for metadata. Almost all
interaction with metadata occurs through the methods of \ElggEntity. See its
__set(), __get(), and setMetadata() methods.
Afficher le fichier
Open project: elgg/elgg
Class Usage Examples
Méthodes publiques
Méthodes protégées
Method Details
__construct()
public méthode
Plugin developers will probably never need to use this API. See \ElggEntity
for its API for setting and getting metadata.
public __construct ( stdClass $row = null ) |
$row |
stdClass |
Database row as \stdClass object |
Determines whether or not the user can edit this piece of metadata
getObjectFromID()
public méthode
This is used by the river functionality primarily.
This is useful for checking access permissions etc on objects.
initializeAttributes()
protected méthode