Minimum version: Midgard 1.0
Retrieves information about the element record with id id.
Returns an object describing the element record if successful. Returns FALSE on failure.
<?php $id = 123; $el = mgd_get_element($id); if(!$el){ echo "Could not get element."; }else{ echo $el->name; } ?> |