Elgg  Version 4.3
Functions
deprecated-4.1.php File Reference

Go to the source code of this file.

Functions

 elgg_get_version ($human_readable=false)
 Bundle all functions which have been deprecated in Elgg 4.1. More...
 
 elgg_does_viewtype_fallback ($viewtype)
 Checks if a viewtype falls back to default. More...
 
 elgg_register_entity_type ($type, $subtype=null)
 Registers an entity type and subtype as a public-facing entity that should be shown in search. More...
 
 elgg_unregister_entity_type ($type, $subtype=null)
 Unregisters an entity type and subtype as a public-facing type. More...
 
 get_registered_entity_types ($type=null)
 Returns registered entity types and subtypes. More...
 
 is_registered_entity_type ($type, $subtype=null)
 Returns if the entity type and subtype have been registered with elgg_register_entity_type(). More...
 
 get_user_by_code ($hash)
 Get user by persistent login password. More...
 

Function Documentation

elgg_does_viewtype_fallback (   $viewtype)

Checks if a viewtype falls back to default.

Parameters
string$viewtypeViewtype
Returns
boolean
Since
1.7.2

Definition at line 35 of file deprecated-4.1.php.

elgg_get_version (   $human_readable = false)

Bundle all functions which have been deprecated in Elgg 4.1.

Get the current Elgg version information

Parameters
bool$human_readableWhether to return a human readable version (default: false)
Returns
string|false Depending on success
Since
1.9

Definition at line 15 of file deprecated-4.1.php.

elgg_register_entity_type (   $type,
  $subtype = null 
)

Registers an entity type and subtype as a public-facing entity that should be shown in search.

Parameters
string$typeThe type of entity (object, site, user, group)
string$subtypeThe subtype to register (may be blank)
Returns
bool Depending on success

Definition at line 49 of file deprecated-4.1.php.

elgg_unregister_entity_type (   $type,
  $subtype = null 
)

Unregisters an entity type and subtype as a public-facing type.

Parameters
string$typeThe type of entity (object, site, user, group)
string$subtypeThe subtype to register (may be blank)
Returns
bool Depending on success

Definition at line 73 of file deprecated-4.1.php.

get_registered_entity_types (   $type = null)

Returns registered entity types and subtypes.

Parameters
string$typeThe type of entity (object, site, user, group) or blank for all
Returns
array|false Depending on whether entities have been registered

Definition at line 96 of file deprecated-4.1.php.

get_user_by_code (   $hash)

Get user by persistent login password.

Parameters
string$hashHash of the persistent login password
Returns

Definition at line 142 of file deprecated-4.1.php.

is_registered_entity_type (   $type,
  $subtype = null 
)

Returns if the entity type and subtype have been registered with elgg_register_entity_type().

Parameters
string$typeThe type of entity (object, site, user, group)
string$subtypeThe subtype (may be blank)
Returns
bool Depending on whether or not the type has been registered

Definition at line 124 of file deprecated-4.1.php.