public static function get_areas($tagcollid) {
        $allitemtypes = core_tag_area::get_areas($tagcollid, true);
        $itemtypes = array();
        foreach ($allitemtypes as $itemtype => $it) {
            foreach ($it as $component => $v) {
                $itemtypes[$v->id] = $v;
            }
        }
        return $itemtypes;
    }
public static function get_areas($tagcollid) {
        $allitemtypes = core_tag_area::get_areas($tagcollid, true);
        $itemtypes = array();
        foreach ($allitemtypes as $itemtype => $it) {
            foreach ($it as $component => $v) {
                $itemtypes[$v->id] = $v;
            }
        }
        return $itemtypes;
    }
public static function get_areas ( $ tagcollid ) { $ allitemtypes = core_tag_area :: get_areas ( $ tagcollid , true ) ; $ itemtypes = array ( ) ; foreach ( $ allitemtypes as $ itemtype => $ it ) { foreach ( $ it as $ component => $ v ) { $ itemtypes [ $ v -> id ] = $ v ; } } return $ itemtypes ; }
Returns all tag areas in the given tag collection

@param int $tagcollid
@return array
Returns all tag areas in the given tag collection