public function hasSameSource(tao_helpers_translation_TranslationUnit $translationUnit)
    {
        $returnValue = (bool) false;

        foreach ($this->getTranslationUnits() as $tu) {
            if ($tu->hasSameTranslationUnitSource($translationUnit)) {
                $returnValue = true;
                break;
            }
        }

        return (bool) $returnValue;
    }
public function hasSameSource(tao_helpers_translation_TranslationUnit $translationUnit)
    {
        $returnValue = (bool) false;

        foreach ($this->getTranslationUnits() as $tu) {
            if ($tu->hasSameTranslationUnitSource($translationUnit)) {
                $returnValue = true;
                break;
            }
        }

        return (bool) $returnValue;
    }
public function hasSameSource ( tao_helpers_translation_TranslationUnit $ translationUnit ) { $ returnValue = ( bool ) false ; foreach ( $ this -> getTranslationUnits ( ) as $ tu ) { if ( $ tu -> hasSameTranslationUnitSource ( $ translationUnit ) ) { $ returnValue = true ; break ; } } return ( bool ) $ returnValue ; }
Short description of method hasSameSource

@access public
@author Jerome Bogaerts, <jerome.bogaerts@tudor.lu>
@param  TranslationUnit translationUnit
@return boolean
Short description of method hasSameSource