/users/plener09/home/fresh/lospasospolacos/framework18/web/widgets/captcha/CCaptcha.php(90)
078 079 /** 080 * Renders the widget. 081 */ 082 public function run() 083 { 084 if(self::checkRequirements()) 085 { 086 $this->renderImage(); 087 $this->registerClientScript(); 088 } 089 else 090 throw new CException(Yii::t('yii','GD and FreeType PHP extensions are required.')); 091 } 092 093 /** 094 * Renders the CAPTCHA image. 095 */ 096 protected function renderImage() 097 { 098 if(!isset($this->imageOptions['id'])) 099 $this->imageOptions['id']=$this->getId(); 100 101 $url=$this->getController()->createUrl($this->captchaAction,array('v'=>uniqid())); 102 $alt=isset($this->imageOptions['alt'])?$this->imageOptions['alt']:'';
#0 |
+
–
/users/plener09/home/fresh/lospasospolacos/framework18/web/CBaseController.php(166): CCaptcha->run() 161 return ob_get_clean(); 162 } 163 else 164 { 165 $widget=$this->createWidget($className,$properties); 166 $widget->run(); 167 return $widget; 168 } 169 } 170 171 /** |
#1 |
+
–
/users/plener09/home/fresh/lospasospolacos/protected/modules/user/views/user/registration.php(79): CBaseController->widget("CCaptcha") 74 ?> 75 <?php if (UserModule::doCaptcha('registration')): ?> 76 <div class="row"> 77 <?php echo $form->labelEx($model,'verifyCode'); ?> 78 79 <?php $this->widget('CCaptcha'); ?> 80 <?php echo '<br />'; ?> 81 <?php echo $form->textField($model,'verifyCode'); ?> 82 <?php echo $form->error($model,'verifyCode'); ?> 83 84 </div> |
#2 |
+
–
/users/plener09/home/fresh/lospasospolacos/framework18/web/CBaseController.php(119): require("/users/plener09/home/fresh/lospasospolacos/protected/modules/use...") 114 $data=$_data_; 115 if($_return_) 116 { 117 ob_start(); 118 ob_implicit_flush(false); 119 require($_viewFile_); 120 return ob_get_clean(); 121 } 122 else 123 require($_viewFile_); 124 } |
#3 |
+
–
/users/plener09/home/fresh/lospasospolacos/framework18/web/CBaseController.php(88): CBaseController->renderInternal("/users/plener09/home/fresh/lospasospolacos/protected/modules/use...", array("model" => RegistrationForm, "profile" => Profile), true) 83 { 84 $widgetCount=count($this->_widgetStack); 85 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 86 $content=$renderer->renderFile($this,$viewFile,$data,$return); 87 else 88 $content=$this->renderInternal($viewFile,$data,$return); 89 if(count($this->_widgetStack)===$widgetCount) 90 return $content; 91 else 92 { 93 $widget=end($this->_widgetStack); |
#4 |
+
–
/users/plener09/home/fresh/lospasospolacos/framework18/web/CController.php(866): CBaseController->renderFile("/users/plener09/home/fresh/lospasospolacos/protected/modules/use...", array("model" => RegistrationForm, "profile" => Profile), true) 861 */ 862 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 863 { 864 if(($viewFile=$this->getViewFile($view))!==false) 865 { 866 $output=$this->renderFile($viewFile,$data,true); 867 if($processOutput) 868 $output=$this->processOutput($output); 869 if($return) 870 return $output; 871 else |
#5 |
+
–
/users/plener09/home/fresh/lospasospolacos/framework18/web/CController.php(779): CController->renderPartial("/user/registration", array("model" => RegistrationForm, "profile" => Profile), true) 774 */ 775 public function render($view,$data=null,$return=false) 776 { 777 if($this->beforeRender($view)) 778 { 779 $output=$this->renderPartial($view,$data,true); 780 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 781 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 782 783 $this->afterRender($view,$output); 784 |
#6 |
+
–
/users/plener09/home/fresh/lospasospolacos/protected/modules/user/controllers/RegistrationController.php(81): CController->render("/user/registration", array("model" => RegistrationForm, "profile" => Profile)) 76 $this->refresh(); 77 } 78 } 79 } else $profile->validate(); 80 } 81 $this->render('/user/registration',array('model'=>$model,'profile'=>$profile)); 82 } 83 } 84 } |
#7 |
+
–
/users/plener09/home/fresh/lospasospolacos/framework18/web/actions/CInlineAction.php(50): RegistrationController->actionRegistration() 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 } |
#8 |
+
–
/users/plener09/home/fresh/lospasospolacos/framework18/web/CController.php(300): CInlineAction->runWithParams(array()) 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; |
#9 |
+
–
/users/plener09/home/fresh/lospasospolacos/framework18/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(); |
#10 |
+
–
/users/plener09/home/fresh/lospasospolacos/framework18/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); |
#11 |
+
–
/users/plener09/home/fresh/lospasospolacos/framework18/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 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 282 array('{route}'=>$route===''?$this->defaultController:$route))); |
#12 |
+
–
/users/plener09/home/fresh/lospasospolacos/framework18/web/CWebApplication.php(136): CWebApplication->runController("user/registration") 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. |
#13 |
+
–
/users/plener09/home/fresh/lospasospolacos/framework18/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 /** |
#14 |
+
–
/users/plener09/home/fresh/lospasospolacos/index.php(11): CApplication->run() 06 07 // remove the following line when in production mode 08 defined('YII_DEBUG') or define('YII_DEBUG',true); 09 10 require_once($yii); 11 Yii::createWebApplication($config)->run(); |