foreach($js_foot as $resource) $stylesheets
foreach($stylesheets as $name=> $resource) $js_head
foreach($metas as $attributes) $links
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.