/home/auto531/new/es/inc/controllers/ToursController.php(302)
290 291 } 292 293 }else{ 294 $this->redirect($this->createUrl("tours/index")); 295 } 296 297 } 298 299 public function actionListado(){ 300 if(isset($_REQUEST["dest"])){ 301 302 $destino = Yii::app()->db->createCommand() 303 ->select("*") 304 ->from('destino') 305 ->where("destino_clave Like :clave",array(":clave"=>$_REQUEST["dest"])) 306 ->queryRow(); 307 308 309 310 311 $_REQUEST["tour_destination"] = ((isset($_REQUEST["tour_destination"])) ? $_REQUEST["tour_destination"] : $destino["nombre_" . Yii::app()->language]); 312 $_REQUEST["tour_fecha"] = ((isset($_REQUEST["tour_fecha"])) ? $_REQUEST["tour_fecha"] : date("m/d/Y",mktime(0,0,0,date("m"),date("d")+3,date("Y"))) ); 313 $_REQUEST["tour_adults"] = ((isset($_REQUEST["tour_adults"])) ? $_REQUEST["tour_adults"] : 1); 314 $_REQUEST["tour_childs"] = ((isset($_REQUEST["tour_childs"])) ? $_REQUEST["tour_childs"] : 0);
#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(302): CModule->__get("db") 297 } 298 299 public function actionListado(){ 300 if(isset($_REQUEST["dest"])){ 301 302 $destino = Yii::app()->db->createCommand() 303 ->select("*") 304 ->from('destino') 305 ->where("destino_clave Like :clave",array(":clave"=>$_REQUEST["dest"])) 306 ->queryRow(); 307 |
#5 |
+
–
/home/auto531/new/es/lib/yii/web/actions/CInlineAction.php(50): ToursController->actionListado() 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" => "Playa_del_Carmen")) 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("listado") 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/listado") 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 ?> |