27 parent::initializeAttributes();
29 $this->attributes[
'type'] =
"metadata";
54 elgg_deprecated_notice(
'Passing an ID to constructor is deprecated. Use elgg_get_metadata_from_id()', 1.9);
56 $this->attributes =
$metadata->attributes;
93 throw new \IOException(
"Unable to save new " . get_class());
104 public function delete() {
121 $this->enabled =
'no';
136 $this->enabled =
'yes';
elgg_deprecated_notice($msg, $dep_version, $backtrace_level=1)
Log a notice about deprecated use of a function, view, etc.
_elgg_services(\Elgg\Di\ServiceProvider $services=null)
Get the global service provider.
$user_guid
Avatar remove action.
if(!$collection_name) $id
get_entity($guid)
Loads and returns an entity object from a guid.