/home/jbenetti/framework/web/CController.php(878)
866 { 867 if(($viewFile=$this->getViewFile($view))!==false) 868 { 869 $output=$this->renderFile($viewFile,$data,true); 870 if($processOutput) 871 $output=$this->processOutput($output); 872 if($return) 873 return $output; 874 else 875 echo $output; 876 } 877 else 878 throw new CException(Yii::t('yii','{controller} cannot find the requested view "{view}".', 879 array('{controller}'=>get_class($this), '{view}'=>$view))); 880 } 881 882 /** 883 * Renders a named clip with the supplied parameters. 884 * This is similar to directly accessing the {@link clips} property. 885 * The main difference is that it can take an array of named parameters 886 * which will replace the corresponding placeholders in the clip. 887 * @param string $name the name of the clip 888 * @param array $params an array of named parameters (name=>value) that should replace 889 * their corresponding placeholders in the clip 890 * @param boolean $return whether to return the clip content or echo it.
#0 |
+
–
/home/jbenetti/public_html/admin/components/Controller.php(424): CController->renderPartial("contact", array("model" => ContactForm), true) 419 $col1 = $col1data; 420 } 421 else 422 $col1 = null; 423 } 424 $output=$this->renderPartial($view,$data,true); 425 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 426 $output=$this->renderFile($layoutFile,array('content'=>$output,'col1'=>$col1),true); 427 428 $this->afterRender($view,$output); 429 $output=$this->processOutput($output); |
#1 |
+
–
/home/jbenetti/public_html/application/controllers/SiteController.php(366): Controller->render("contact", array("model" => ContactForm)) 361 mail(Yii::app()->params['adminEmail'],$model->subject,$model->body,$headers); 362 Yii::app()->user->setFlash('contact','Thank you for contacting us. We will respond to you as soon as possible.'); 363 $this->refresh(); 364 } 365 } 366 $this->render('contact',array('model'=>$model)); 367 } 368 369 /** 370 * Displays the login page 371 */ |
#2 |
+
–
/home/jbenetti/framework/web/actions/CInlineAction.php(49): SiteController->actionContact() 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 else 49 return $controller->$methodName(); 50 } 51 52 } |
#3 |
+
–
/home/jbenetti/framework/web/CController.php(308): CInlineAction->runWithParams(array("r" => "site/contact")) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#4 |
+
–
/home/jbenetti/framework/web/CController.php(286): CController->runAction(CInlineAction) 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#5 |
+
–
/home/jbenetti/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array()) 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#6 |
+
–
/home/jbenetti/framework/web/CWebApplication.php(282): CController->run("contact") 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#7 |
+
–
/home/jbenetti/framework/web/CWebApplication.php(141): CWebApplication->runController("site/contact") 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#8 |
+
–
/home/jbenetti/framework/base/CApplication.php(180): CWebApplication->processRequest() 175 public function run() 176 { 177 if($this->hasEventHandler('onBeginRequest')) 178 $this->onBeginRequest(new CEvent($this)); 179 register_shutdown_function(array($this,'end'),0,false); 180 $this->processRequest(); 181 if($this->hasEventHandler('onEndRequest')) 182 $this->onEndRequest(new CEvent($this)); 183 } 184 185 /** |
#9 |
+
–
/home/jbenetti/public_html/index.php(18): CApplication->run() 13 $app = Yii::createWebApplication($config); 14 /* alter stuff for multi host environment */ 15 $host = SBCmsUtils::getSimpleHostName(); 16 SBCmsUtils::populateConfig($app,$host); 17 /* should have all we need to run the app */ 18 $app->run(); |