public function getLocalRecordByILN ($iln)
    {
        foreach ($this->getLocalRecords() as $localRecord) {
            if ($localRecord->getILN() == $iln) {
                return $localRecord;
            }
        }
        return null;
    }
public function getLocalRecordByILN ($iln)
    {
        foreach ($this->getLocalRecords() as $localRecord) {
            if ($localRecord->getILN() == $iln) {
                return $localRecord;
            }
        }
        return null;
    }
public function getLocalRecordByILN ( $ iln ) { foreach ( $ this -> getLocalRecords ( ) as $ localRecord ) { if ( $ localRecord -> getILN ( ) == $ iln ) { return $ localRecord ; } } return null ; }
Return a local record identified by its ILN.

@param  integer $iln Intenal library number
@return LocalRecord|null
Return a local record identified by its ILN .