13 }
catch (\Exception $e) {
18 echo
elgg_view(
'page/components/no_results', [
'no_results' =>
elgg_echo(
'admin:widget:elgg_blog:no_results')]);
25 foreach (
$blogs as $blog) {
29 'icon_name' =>
'history',
31 'class' =>
'elgg-listing-time',
elgg_view_image_block(string $image, string $body, array $vars=[])
Wrapper function for the image block display pattern.
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
if(!$annotation instanceof ElggAnnotation) $time
$subtitle
Output annotation subtitle.
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
foreach($blogs as $blog) $list
elgg_view_friendly_time($time, $time_updated=null)
Displays a UNIX timestamp in a friendly way.
elgg_view_url(string $href, string $text=null, array $options=[])
Helper function for outputting urls.
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
elgg_get_http_client(array $options=[])
Returns a Guzzle HTTP client.
elgg_get_simplecache_url(string $view)
Get the URL for the cached view.
$blogs
Elgg News fetched from the community.