Elgg  Version 2.3
deprecated-1.10.php
Go to the documentation of this file.
1 <?php
2 
11 function file_get_simple_type($mime_type) {
12  elgg_deprecated_notice(__FUNCTION__ . ' is deprecated. Use elgg_get_file_simple_type()', '1.10');
13  return elgg_get_file_simple_type($mime_type);
14 }
15 
24 function file_get_general_file_type($mime_type) {
25  elgg_deprecated_notice(__FUNCTION__ . ' is deprecated. Use elgg_get_file_simple_type()', '1.10');
26  return elgg_get_file_simple_type($mime_type);
27 }
28 
40  elgg_deprecated_notice(__FUNCTION__ . ' is deprecated. Use elgg_get/set_ignore_access()', '1.8');
41 
42  return _elgg_services()->session;
43 }
44 
56  elgg_deprecated_notice(__FUNCTION__ . " is deprecated and will not be replaced.", "1.10");
57  return _elgg_services()->passwords->generateLegacyHash($user, $password);
58 }
file_get_general_file_type($mime_type)
Returns the category of a file from its MIME type.
$user
Definition: ban.php:13
elgg_deprecated_notice($msg, $dep_version, $backtrace_level=1)
Log a notice about deprecated use of a function, view, etc.
Definition: elgglib.php:1098
_elgg_services(\Elgg\Di\ServiceProvider $services=null)
Get the global service provider.
Definition: autoloader.php:17
$password
Definition: login.php:25
file_get_simple_type($mime_type)
Returns the category of a file from its MIME type.
generate_user_password(\ElggUser $user, $password)
Create a legacy password hash (salted MD5).
elgg_get_file_simple_type($mime_type)
Returns the category of a file from its MIME type.
Definition: filestore.php:352
elgg_get_access_object()
Returns an object with methods set_ignore_access() and get_ignore_access() for back compatibility...