if(!$items &&$no_results) if(!is_array($items)||count($items)==0) $list_class
elgg_extract($key, array $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_instanceof($entity, $type=null, $subtype=null, $class=null)
Checks if $entity is an ElggEntity and optionally for type and subtype.
if(isset($vars['item_class'])) $html
if(isset($vars['list_class'])) $item_class