35 'echo' => [
'translator',
'translate'],
38 if (!empty($proxies[
$name])) {
39 $svc = $proxies[
$name][0];
40 $method = $proxies[
$name][1];
42 elgg_deprecated_notice(
'Using the proxy elgg()->echo() has been deprecated. Use elgg_echo or elgg()->translator->translate()',
'4.1');
44 return call_user_func_array([$this->$svc, $method], $arguments);
static elgg()
Get the Elgg codebase path with "/".
elgg_deprecated_notice(string $msg, string $dep_version)
Log a notice about deprecated use of a function, view, etc.
if(!$user||!$user->canDelete()) $name
__call($name, $arguments)
{}
static getDefinitionSources()