24 elgg_deprecated_notice(__METHOD__ .
' has been deprecated, use \Elgg\Exceptions\HttpException or elgg_redirect_response()',
'4.0');
25 if (headers_sent($file, $line)) {
26 throw new SecurityException(
"Redirect could not be issued due to headers already being sent. Halting execution for security. " 27 .
"Output started in file $file at line $line. Search http://learn.elgg.org/ for more information.");
elgg_deprecated_notice(string $msg, string $dep_version)
Log a notice about deprecated use of a function, view, etc.
Throw when a Security Exception occurs.
forward($location="", $reason= 'system')
Forward to $location.
_elgg_services()
Get the global service provider.