Attila/core/Model.php
private function _applyFilter($oResult)
	{    
	    $oResult = $this->_cFilterCallback($oResult);
	    
	    foreach($this->_aHasOne as $sKey => $aParam) {
	        
	        $oResult->hasOne($aParam[0], $aParam[1], $aParam[2], $aParam[3], $aParam[4]);
	    }
	    
	    foreach($this->_aHasMany as $sKey => $aParam) {
	        
	        $oResult->hasMany($aParam[0], $aParam[1], $aParam[2], $aParam[3], $aParam[4]);
	    }
	    
	    return $this->_cFilterCallback($oResults);
	}
private function _applyFilter($oResult)
	{    
	    $oResult = $this->_cFilterCallback($oResult);
	    
	    foreach($this->_aHasOne as $sKey => $aParam) {
	        
	        $oResult->hasOne($aParam[0], $aParam[1], $aParam[2], $aParam[3], $aParam[4]);
	    }
	    
	    foreach($this->_aHasMany as $sKey => $aParam) {
	        
	        $oResult->hasMany($aParam[0], $aParam[1], $aParam[2], $aParam[3], $aParam[4]);
	    }
	    
	    return $this->_cFilterCallback($oResults);
	}
private function _applyFilter ( $ oResult ) { $ oResult = $ this -> _cFilterCallback ( $ oResult ) ; foreach ( $ this -> _aHasOne as $ sKey => $ aParam ) { $ oResult -> hasOne ( $ aParam [ 0 ] , $ aParam [ 1 ] , $ aParam [ 2 ] , $ aParam [ 3 ] , $ aParam [ 4 ] ) ; } foreach ( $ this -> _aHasMany as $ sKey => $ aParam ) { $ oResult -> hasMany ( $ aParam [ 0 ] , $ aParam [ 1 ] , $ aParam [ 2 ] , $ aParam [ 3 ] , $ aParam [ 4 ] ) ; } return $ this -> _cFilterCallback ( $ oResults ) ; }
apply the filter on the result and add the join

@access private
@param  object $oResult result to apply filter
@return object
apply the filter on the result and add the join