public static function get_by_id($tagareaid) {
        $tagareas = self::get_areas();
        foreach ($tagareas as $itemtype => $it) {
            foreach ($it as $component => $v) {
                if ($v->id == $tagareaid) {
                    return $v;
                }
            }
        }
        return null;
    }
public static function get_by_id($tagareaid) {
        $tagareas = self::get_areas();
        foreach ($tagareas as $itemtype => $it) {
            foreach ($it as $component => $v) {
                if ($v->id == $tagareaid) {
                    return $v;
                }
            }
        }
        return null;
    }
public static function get_by_id ( $ tagareaid ) { $ tagareas = self :: get_areas ( ) ; foreach ( $ tagareas as $ itemtype => $ it ) { foreach ( $ it as $ component => $ v ) { if ( $ v -> id == $ tagareaid ) { return $ v ; } } } return null ; }
Retrieves info about one tag area

@param int $tagareaid
@return stdClass
Retrieves info about one tag area