static public function fetchTag( $tagID, $language = false )
    {
        if ( $language )
        {
            if ( !is_array( $language ) )
                $language = array( $language );
            eZContentLanguage::setPrioritizedLanguages( $language );
        }

        $result = false;
        if ( is_numeric( $tagID ) )
        {
            $result = eZTagsObject::fetch( $tagID );
        }
        else if ( is_array( $tagID ) && !empty( $tagID ) )
        {
            $result = eZTagsObject::fetchList( array( 'id' => array( $tagID ) ) );
        }

        if ( $language )
            eZContentLanguage::clearPrioritizedLanguages();

        if ( $result instanceof eZTagsObject || ( is_array( $result ) && !empty( $result ) ) )
            return array( 'result' => $result );

        return array( 'result' => false );
    }
static public function fetchTag( $tagID, $language = false )
    {
        if ( $language )
        {
            if ( !is_array( $language ) )
                $language = array( $language );
            eZContentLanguage::setPrioritizedLanguages( $language );
        }

        $result = false;
        if ( is_numeric( $tagID ) )
        {
            $result = eZTagsObject::fetch( $tagID );
        }
        else if ( is_array( $tagID ) && !empty( $tagID ) )
        {
            $result = eZTagsObject::fetchList( array( 'id' => array( $tagID ) ) );
        }

        if ( $language )
            eZContentLanguage::clearPrioritizedLanguages();

        if ( $result instanceof eZTagsObject || ( is_array( $result ) && !empty( $result ) ) )
            return array( 'result' => $result );

        return array( 'result' => false );
    }
static public function fetchTag ( $ tagID , $ language = false ) { if ( $ language ) { if ( ! is_array ( $ language ) ) $ language = array ( $ language ) ; eZContentLanguage :: setPrioritizedLanguages ( $ language ) ; } $ result = false ; if ( is_numeric ( $ tagID ) ) { $ result = eZTagsObject :: fetch ( $ tagID ) ; } else if ( is_array ( $ tagID ) && ! empty ( $ tagID ) ) { $ result = eZTagsObject :: fetchList ( array ( 'id' => array ( $ tagID ) ) ) ; } if ( $ language ) eZContentLanguage :: clearPrioritizedLanguages ( ) ; if ( $ result instanceof eZTagsObject || ( is_array ( $ result ) && ! empty ( $ result ) ) ) return array ( 'result' => $ result ) ; return array ( 'result' => false ) ; }
Fetches eZTagsObject object for the provided tag ID

@static

@param int $tagID
@param mixed $language

@return array
Fetches eZTagsObject object for the provided tag ID