Go to the source code of this file.
elgg_get_access_object |
( |
| ) |
|
file_get_general_file_type |
( |
|
$mime_type | ) |
|
Returns the category of a file from its MIME type.
- Parameters
-
string | $mime_type | The MIME type |
- Returns
- string 'document', 'audio', 'video', or 'general' if the MIME type is unrecognized
Definition at line 24 of file deprecated-1.10.php.
file_get_simple_type |
( |
|
$mime_type | ) |
|
Returns the category of a file from its MIME type.
- Parameters
-
string | $mime_type | The MIME type |
- Returns
- string 'document', 'audio', 'video', or 'general' if the MIME type is unrecognized
Definition at line 11 of file deprecated-1.10.php.
generate_user_password |
( |
\ElggUser |
$user, |
|
|
|
$password |
|
) |
| |
Create a legacy password hash (salted MD5).
- Parameters
-
\ElggUser | $user | The user this is being generated for. |
string | $password | Password in clear text |
- Returns
- string private
Definition at line 52 of file deprecated-1.10.php.