/mnt/HC_Volume_23321257/focusextranet/public_html/protected/modules/business/models/BusinessOfferModel.php(128)
116 $criteria->compare('insertDate',$this->insertDate,true); 117 $criteria->compare('modifyDate',$this->modifyDate,true); 118 119 return new CActiveDataProvider($this, array( 120 'criteria'=>$criteria, 121 )); 122 } 123 124 public function getOffersByCondition( $condition ) 125 { 126 $condition->alias = "bo"; 127 $condition->limit = 10; 128 $condition->join = "JOIN businesses AS b ON b.id = bo.businessId AND b.countryId = '".COUNTRY_ID."'"; 129 $condition->order = "bo.insertDate DESC"; 130 $condition->compare( "bo.domainId", getDomainId() ); 131 132 $offerList = BusinessOfferModel::model()->findAll( $condition ); 133 134 return $offerList; 135 } 136 }
#0 |
+
–
/mnt/HC_Volume_23321257/focusextranet/public_html/protected/controllers/OfferController.php(47): BusinessOfferModel->getOffersByCondition() 42 if( getValue( "page" ) != "" ) 43 { 44 $condition->offset = ( ( getValue( "page" ) - 1 ) * $condition->limit ); 45 } 46 47 $offerList = BusinessOfferModel::model()->getOffersByCondition( $condition ); 48 if( $offerList ) 49 { 50 foreach( $offerList as $offer ) 51 { 52 $offer->business = BusinessModel::model()->findByPk( $offer->businessId ); |
#1 |
+
–
/mnt/HC_Volume_23321257/focusextranet/public_html/framework/web/actions/CInlineAction.php(50): OfferController->actionIndex() 45 $controller=$this->getController(); 46 $method=new ReflectionMethod($controller, $methodName); 47 if($method->getNumberOfParameters()>0) 48 return $this->runWithParamsInternal($controller, $method, $params); 49 else 50 return $controller->$methodName(); 51 } 52 53 } |
#2 |
+
–
/mnt/HC_Volume_23321257/focusextranet/public_html/framework/web/CController.php(309): CInlineAction->runWithParams() 304 { 305 $priorAction=$this->_action; 306 $this->_action=$action; 307 if($this->beforeAction($action)) 308 { 309 if($action->runWithParams($this->getActionParams())===false) 310 $this->invalidActionParams($action); 311 else 312 $this->afterAction($action); 313 } 314 $this->_action=$priorAction; |
#3 |
+
–
/mnt/HC_Volume_23321257/focusextranet/public_html/framework/web/CController.php(287): CController->runAction() 282 * @see runAction 283 */ 284 public function runActionWithFilters($action,$filters) 285 { 286 if(empty($filters)) 287 $this->runAction($action); 288 else 289 { 290 $priorAction=$this->_action; 291 $this->_action=$action; 292 CFilterChain::create($this,$action,$filters)->run(); |
#4 |
+
–
/mnt/HC_Volume_23321257/focusextranet/public_html/framework/web/CController.php(266): CController->runActionWithFilters() 261 { 262 if(($parent=$this->getModule())===null) 263 $parent=Yii::app(); 264 if($parent->beforeControllerAction($this,$action)) 265 { 266 $this->runActionWithFilters($action,$this->filters()); 267 $parent->afterControllerAction($this,$action); 268 } 269 } 270 else 271 $this->missingAction($actionID); |
#5 |
+
–
/mnt/HC_Volume_23321257/focusextranet/public_html/framework/web/CWebApplication.php(277): CController->run() 272 { 273 list($controller,$actionID)=$ca; 274 $oldController=$this->_controller; 275 $this->_controller=$controller; 276 $controller->init(); 277 $controller->run($actionID); 278 $this->_controller=$oldController; 279 } 280 else 281 { 282 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', |
#6 |
+
–
/mnt/HC_Volume_23321257/focusextranet/public_html/framework/web/CWebApplication.php(136): CWebApplication->runController() 131 $_GET[$name]=$value; 132 } 133 else 134 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 135 136 $this->runController($route); 137 } 138 139 /** 140 * Registers the core application components. 141 * This method overrides the parent implementation by registering additional core components. |
#7 |
+
–
/mnt/HC_Volume_23321257/focusextranet/public_html/framework/base/CApplication.php(162): CWebApplication->processRequest() 157 */ 158 public function run() 159 { 160 if($this->hasEventHandler('onBeginRequest')) 161 $this->onBeginRequest(new CEvent($this)); 162 $this->processRequest(); 163 if($this->hasEventHandler('onEndRequest')) 164 $this->onEndRequest(new CEvent($this)); 165 } 166 167 /** |
#8 |
+
–
/mnt/HC_Volume_23321257/focusextranet/public_html/index.php(32): CApplication->run() 27 define( "LANGUAGE_PATH", BASE_PATH."protected/languages/" ); 28 29 date_default_timezone_set( "Europe/Berlin" ); 30 31 require_once( $yii ); 32 Yii::createWebApplication( $config )->run(); |