53 _elgg_services()->logger->warning(
"Deprecated in {$dep_version}: {$msg}");
elgg_view_deprecated($view, array $vars, $suggestion, $version)
Display a view with a deprecation notice.
$params
Saves global plugin settings.
elgg_deprecated_notice(string $msg, string $dep_version)
Log a notice about deprecated use of a function, view, etc.
if(!empty($avatar)&&!$avatar->isValid()) elseif(empty($avatar)) if(!$owner->saveIconFromUploadedFile('avatar')) if(!elgg_trigger_event('profileiconupdate', $owner->type, $owner)) $view
elgg_trigger_deprecated_plugin_hook($hook, $type, $params=null, $returnvalue=null, $message=null, $version=null)
Trigger an plugin hook normally, but send a notice about deprecated use if any handlers are registere...
if($email instanceof\Elgg\Email) $object
_elgg_services()
Get the global service provider.
elgg_trigger_deprecated_event($event, $object_type, $object=null, $message=null, $version=null)
Deprecation Bundles helper functions for deprecation.