Elgg  Version 1.10
Functions
deprecated-1.10.php File Reference

Go to the source code of this file.

Functions

 file_get_simple_type ($mime_type)
 Returns the category of a file from its MIME type. More...
 
 file_get_general_file_type ($mime_type)
 Returns the category of a file from its MIME type. More...
 
 elgg_get_access_object ()
 Returns the object. More...
 
 generate_user_password (\ElggUser $user, $password)
 Create a legacy password hash (salted MD5). More...
 

Function Documentation

elgg_get_access_object ( )

Returns the object.

Returns
Since
1.7.0 private

Definition at line 37 of file deprecated-1.10.php.

file_get_general_file_type (   $mime_type)

Returns the category of a file from its MIME type.

Parameters
string$mime_typeThe 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_typeThe 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$userThe user this is being generated for.
string$passwordPassword in clear text
Returns
string private

Definition at line 52 of file deprecated-1.10.php.