public function getByTarget(tao_helpers_translation_TranslationUnit $translationUnit)
    {
        $returnValue = null;

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

        return $returnValue;
    }
public function getByTarget(tao_helpers_translation_TranslationUnit $translationUnit)
    {
        $returnValue = null;

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

        return $returnValue;
    }
public function getByTarget ( tao_helpers_translation_TranslationUnit $ translationUnit ) { $ returnValue = null ; foreach ( $ this -> getTranslationUnits ( ) as $ tu ) { if ( $ tu -> hasSameTranslationUnitTarget ( $ translationUnit ) ) { $ returnValue = $ tu ; break ; } } return $ returnValue ; }
Short description of method getByTarget

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