Elgg  Version 1.9
Variables
image_block.php File Reference

Go to the source code of this file.

Variables

 $body = elgg_extract('body', $vars, '')
 Elgg image block pattern. More...
 
 $image = elgg_extract('image', $vars, '')
 
 $alt_image = elgg_extract('image_alt', $vars, '')
 
 $class = 'elgg-image-block'
 
 $additional_class = elgg_extract('class', $vars, '')
 
if($additional_class) $id = ''
 

Variable Documentation

$additional_class = elgg_extract('class', $vars, '')

Definition at line 27 of file image_block.php.

$alt_image = elgg_extract('image_alt', $vars, '')

Definition at line 24 of file image_block.php.

if (isset($vars['id'])) $body = elgg_extract('body', $vars, '')

Elgg image block pattern.

Common pattern where there is an image, icon, media object to the left and a descriptive block of text to the right.


| | | alt | | image | body | image | | block | block | block |

| | | (optional)|

$vars['body'] HTML content of the body block $vars['image'] HTML content of the image block $vars['image_alt'] HTML content of the alternate image block $vars['class'] Optional additional class for media element $vars['id'] Optional id for the media element

Definition at line 22 of file image_block.php.

$class = 'elgg-image-block'

Definition at line 26 of file image_block.php.

if ($additional_class) $id = ''

Definition at line 32 of file image_block.php.

$image = elgg_extract('image', $vars, '')

Definition at line 23 of file image_block.php.