Classes/Domain/Repository/MetaRepository.php
public function findAssociationPerformancelevelByID($id)
    {
        $performancelevels = $this->findAssociationPerformancelevels()->getPerformancelevels();

        $performancelevels->rewind();

        while ($performancelevels->valid()) {
            $performancelevel = $performancelevels->current();
            if ($performancelevel->getID() == $id) {
                return $performancelevel;
            }

            $performancelevels->next();
        }
    }
public function findAssociationPerformancelevelByID($id)
    {
        $performancelevels = $this->findAssociationPerformancelevels()->getPerformancelevels();

        $performancelevels->rewind();

        while ($performancelevels->valid()) {
            $performancelevel = $performancelevels->current();
            if ($performancelevel->getID() == $id) {
                return $performancelevel;
            }

            $performancelevels->next();
        }
    }
public function findAssociationPerformancelevelByID ( $ id ) { $ performancelevels = $ this -> findAssociationPerformancelevels ( ) -> getPerformancelevels ( ) ; $ performancelevels -> rewind ( ) ; while ( $ performancelevels -> valid ( ) ) { $ performancelevel = $ performancelevels -> current ( ) ; if ( $ performancelevel -> getID ( ) == $ id ) { return $ performancelevel ; } $ performancelevels -> next ( ) ; } }
return a association performancelevel

@param string performancelevel id

@return Performancelevel
return a association performancelevel