Elgg  Version 4.3
Functions
deprecated-4.2.php File Reference

Go to the source code of this file.

Functions

 elgg_view_menu_item (\ElggMenuItem $item, array $vars=[])
 Bundle all functions which have been deprecated in Elgg 4.2. More...
 
 system_message ($message)
 Display a system message on next page load. More...
 
 register_error ($error)
 Display an error on next page load. More...
 
 get_entity_as_row ($guid)
 Returns a database row from the entities table. More...
 

Function Documentation

elgg_view_menu_item ( \ElggMenuItem  $item,
array  $vars = [] 
)

Bundle all functions which have been deprecated in Elgg 4.2.

Render a menu item (usually as a link)

Parameters
\ElggMenuItem$itemThe menu item
array$varsOptions to pass to output/url if a link
Returns
string
Since
1.9.0

Definition at line 16 of file deprecated-4.2.php.

get_entity_as_row (   $guid)

Returns a database row from the entities table.

Use get_entity() to return the fully loaded entity.

Warning
This will only return results if a) it exists, b) you have access to it. see _elgg_get_access_where_sql().
Parameters
int$guidThe GUID of the object to extract
Returns
|false

Definition at line 84 of file deprecated-4.2.php.

register_error (   $error)

Display an error on next page load.

Parameters
string | array$errorError or errors to add
Returns
bool

Definition at line 64 of file deprecated-4.2.php.

system_message (   $message)

Display a system message on next page load.

Parameters
string | array$messageMessage or messages to add
Returns
bool

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