/home/auto531/new/es/inc/controllers/ToursController.php(144)
132 $this->pageTitle="Ofertas de Casa"; 133 $this->render("ofertas_home",array("DestinosHoteles"=>"")); 134 } 135 136 public function actionOfertasmsi() 137 { $this->pageTitle="Ofertas Meses sin Interese"; 138 $this->render("listado_msi",array("DestinosHoteles"=>"")); 139 } 140 141 142 public function actionDetalle() 143 { 144 $Tour = Yii::app()->db->createCommand() 145 ->select('*') 146 ->from('tour') 147 ->join("destino","destino_id = tour_destino") 148 ->join("tour_descripcion","descripcion_tour = tour_id") 149 ->join("tour_proveedores","tour_proveedor = proveedores_id") 150 ->where("tour_status = 1 and descripcion_idioma = :idioma and (tour_clave_es = :clave OR tour_clave = :clave)",array(":clave"=> $_REQUEST["prod"],":idioma"=>2)) 151 ->order("destino_id ASC, rand()") 152 ->queryRow(); 153 154 155 156
#0 |
+
–
/home/auto531/new/es/lib/yii/db/CDbConnection.php(313): CDbConnection->open() 308 public function setActive($value) 309 { 310 if($value!=$this->_active) 311 { 312 if($value) 313 $this->open(); 314 else 315 $this->close(); 316 } 317 } 318 |
#1 |
+
–
/home/auto531/new/es/lib/yii/db/CDbConnection.php(291): CDbConnection->setActive(true) 286 */ 287 public function init() 288 { 289 parent::init(); 290 if($this->autoConnect) 291 $this->setActive(true); 292 } 293 294 /** 295 * Returns whether the DB connection is established. 296 * @return boolean whether the DB connection is established |
#2 |
+
–
/home/auto531/new/es/lib/yii/base/CModule.php(372): CDbConnection->init() 367 if(!isset($config['enabled']) || $config['enabled']) 368 { 369 Yii::trace("Loading \"$id\" application component",'system.CModule'); 370 unset($config['enabled']); 371 $component=Yii::createComponent($config); 372 $component->init(); 373 return $this->_components[$id]=$component; 374 } 375 } 376 } 377 |
#3 |
+
–
/home/auto531/new/es/lib/yii/base/CModule.php(86): CModule->getComponent("db") 81 * @return mixed the named property value 82 */ 83 public function __get($name) 84 { 85 if($this->hasComponent($name)) 86 return $this->getComponent($name); 87 else 88 return parent::__get($name); 89 } 90 91 /** |
#4 |
+
–
/home/auto531/new/es/inc/controllers/ToursController.php(144): CModule->__get("db") 139 } 140 141 142 public function actionDetalle() 143 { 144 $Tour = Yii::app()->db->createCommand() 145 ->select('*') 146 ->from('tour') 147 ->join("destino","destino_id = tour_destino") 148 ->join("tour_descripcion","descripcion_tour = tour_id") 149 ->join("tour_proveedores","tour_proveedor = proveedores_id") |
#5 |
+
–
/home/auto531/new/es/lib/yii/web/actions/CInlineAction.php(50): ToursController->actionDetalle() 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 } |
#6 |
+
–
/home/auto531/new/es/lib/yii/web/CController.php(300): CInlineAction->runWithParams(array("dest" => "Riviera_Maya", "prod" => "Rio-Secreto-Tour")) 295 { 296 $priorAction=$this->_action; 297 $this->_action=$action; 298 if($this->beforeAction($action)) 299 { 300 if($action->runWithParams($this->getActionParams())===false) 301 $this->invalidActionParams($action); 302 else 303 $this->afterAction($action); 304 } 305 $this->_action=$priorAction; |
#7 |
+
–
/home/auto531/new/es/lib/yii/web/CController.php(278): CController->runAction(CInlineAction) 273 * @see runAction 274 */ 275 public function runActionWithFilters($action,$filters) 276 { 277 if(empty($filters)) 278 $this->runAction($action); 279 else 280 { 281 $priorAction=$this->_action; 282 $this->_action=$action; 283 CFilterChain::create($this,$action,$filters)->run(); |
#8 |
+
–
/home/auto531/new/es/lib/yii/web/CController.php(257): CController->runActionWithFilters(CInlineAction, array()) 252 { 253 if(($parent=$this->getModule())===null) 254 $parent=Yii::app(); 255 if($parent->beforeControllerAction($this,$action)) 256 { 257 $this->runActionWithFilters($action,$this->filters()); 258 $parent->afterControllerAction($this,$action); 259 } 260 } 261 else 262 $this->missingAction($actionID); |
#9 |
+
–
/home/auto531/new/es/lib/yii/web/CWebApplication.php(277): CController->run("detalle") 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 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 282 array('{route}'=>$route===''?$this->defaultController:$route))); |
#10 |
+
–
/home/auto531/new/es/lib/yii/web/CWebApplication.php(136): CWebApplication->runController("tours/detalle") 131 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 132 $_GET[$name]=$value; 133 } 134 else 135 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 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. |
#11 |
+
–
/home/auto531/new/es/lib/yii/base/CApplication.php(158): CWebApplication->processRequest() 153 */ 154 public function run() 155 { 156 if($this->hasEventHandler('onBeginRequest')) 157 $this->onBeginRequest(new CEvent($this)); 158 $this->processRequest(); 159 if($this->hasEventHandler('onEndRequest')) 160 $this->onEndRequest(new CEvent($this)); 161 } 162 163 /** |
#12 |
+
–
/home/auto531/new/es/index.php(80): CApplication->run() 75 $Config = dirname(__FILE__) . "/inc/config/Main.php"; 76 77 defined("YII_DEBUG") or define("YII_DEBUG",true); 78 79 require_once($Yii); 80 Yii::createWebApplication($Config)->run(); 81 ?> |