24 parent::initializeAttributes();
26 $this->attributes[
'type'] =
"metadata";
42 if (
$row instanceof stdClass) {
51 elgg_deprecated_notice(
'Passing an ID to constructor is deprecated. Use elgg_get_metadata_from_id()', 1.9);
53 $this->attributes =
$metadata->attributes;
85 $this->
id =
create_metadata($this->entity_guid, $this->name, $this->value,
89 throw new IOException(
"Unable to save new " . get_class());
100 public function delete() {
elgg_deprecated_notice($msg, $dep_version, $backtrace_level=1)
Sends a notice about deprecated use of a function, view, etc.
$user_guid
Avatar remove action.
if(!$collection_name) $id
get_entity($guid)
Loads and returns an entity object from a guid.