/homepages/18/d497956370/htdocs/reforward/framework/web/helpers/CHtml.php(2435)
2423 * @param array $htmlOptions additional HTML attributes for the HTML tag 2424 * @return string the generated input tag 2425 */ 2426 protected static function activeInputField($type,$model,$attribute,$htmlOptions) 2427 { 2428 $htmlOptions['type']=$type; 2429 if($type==='text'||$type==='password'||$type==='color'||$type==='date'||$type==='datetime'|| 2430 $type==='datetime-local'||$type==='email'||$type==='month'||$type==='number'||$type==='range'|| 2431 $type==='search'||$type==='tel'||$type==='time'||$type==='url'||$type==='week') 2432 { 2433 if(!isset($htmlOptions['maxlength'])) 2434 { 2435 foreach($model->getValidators($attribute) as $validator) 2436 { 2437 if($validator instanceof CStringValidator && $validator->max!==null) 2438 { 2439 $htmlOptions['maxlength']=$validator->max; 2440 break; 2441 } 2442 } 2443 } 2444 elseif($htmlOptions['maxlength']===false) 2445 unset($htmlOptions['maxlength']); 2446 } 2447
#0 |
+
–
/homepages/18/d497956370/htdocs/reforward/framework/web/helpers/CHtml.php(1533): CHtml::activeInputField("text", null, "login", array("placeholder" => "Введите логин", "name" => "[login]", "id" => "_login", "type" => "text")) 1528 */ 1529 public static function activeTextField($model,$attribute,$htmlOptions=array()) 1530 { 1531 self::resolveNameID($model,$attribute,$htmlOptions); 1532 self::clientChange('change',$htmlOptions); 1533 return self::activeInputField('text',$model,$attribute,$htmlOptions); 1534 } 1535 1536 /** 1537 * Generates a search field input for a model attribute. 1538 * If the attribute has input error, the input field's CSS class will |
#1 |
+
–
/homepages/18/d497956370/htdocs/reforward/framework/web/widgets/CActiveForm.php(792): CHtml::activeTextField(null, "login", array("placeholder" => "Введите логин", "name" => "[login]", "id" => "_login")) 787 * @param array $htmlOptions additional HTML attributes. 788 * @return string the generated input field 789 */ 790 public function textField($model,$attribute,$htmlOptions=array()) 791 { 792 return CHtml::activeTextField($model,$attribute,$htmlOptions); 793 } 794 795 /** 796 * Renders a search field for a model attribute. 797 * This method is a wrapper of {@link CHtml::activeSearchField}. |
#2 |
+
–
/homepages/18/d497956370/htdocs/reforward/protected/views/cabinet/tabs/_profile.php(24): CActiveForm->textField(null, "login", array("placeholder" => "Введите логин")) 19 'htmlOptions' => array('class' => 'edit-form') 20 )); ?> 21 <div class="row"> 22 <span class="span4"> 23 <div> 24 <?=$form->textField($user, 'login', array('placeholder' => "Введите логин"));?> 25 </div> 26 </span><!--/.span4--> 27 <span class="span4"> 28 <div> 29 <?=$form->textField($user, 'email', array('placeholder' => "Введите e-mail"));?> |
#3 |
+
–
/homepages/18/d497956370/htdocs/reforward/framework/web/CBaseController.php(126): require("/homepages/18/d497956370/htdocs/reforward/protected/views/cabine...") 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#4 |
+
–
/homepages/18/d497956370/htdocs/reforward/framework/web/CBaseController.php(95): CBaseController->renderInternal("/homepages/18/d497956370/htdocs/reforward/protected/views/cabine...", array("user" => null, "tab" => "newOrder", "countries" => array(Country, Country, Country, Country, ...)), true) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#5 |
+
–
/homepages/18/d497956370/htdocs/reforward/framework/web/CController.php(869): CBaseController->renderFile("/homepages/18/d497956370/htdocs/reforward/protected/views/cabine...", array("user" => null, "tab" => "newOrder", "countries" => array(Country, Country, Country, Country, ...)), true) 864 */ 865 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 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 |
#6 |
+
–
/homepages/18/d497956370/htdocs/reforward/protected/views/cabinet/index.php(23): CController->renderPartial("tabs/_profile", array("user" => null, "tab" => "newOrder", "countries" => array(Country, Country, Country, Country, ...))) 18 <li class="<?=$tab == 'profile' ? 'current ' : '';?>span4"><h4>Персональная информация</h4></li> 19 </ul><!--/.tabs--> 20 <?php $this->showMessages(); ?> 21 <?php $this->renderPartial('tabs/_newOrder', compact('goods', 'newOrder', 'tab')); ?> 22 <?php $this->renderPartial('tabs/_myOrders', compact('myOrders', 'tab')); ?> 23 <?php $this->renderPartial('tabs/_profile', compact('user', 'tab', 'countries', 'addresses', 'jsonCountries')); ?> 24 25 26 27 </div><!--/.container--> 28 |
#7 |
+
–
/homepages/18/d497956370/htdocs/reforward/framework/web/CBaseController.php(126): require("/homepages/18/d497956370/htdocs/reforward/protected/views/cabine...") 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#8 |
+
–
/homepages/18/d497956370/htdocs/reforward/framework/web/CBaseController.php(95): CBaseController->renderInternal("/homepages/18/d497956370/htdocs/reforward/protected/views/cabine...", array("newOrder" => Order, "goods" => array(Good), "myOrders" => array(), "user" => null, ...), true) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#9 |
+
–
/homepages/18/d497956370/htdocs/reforward/framework/web/CController.php(869): CBaseController->renderFile("/homepages/18/d497956370/htdocs/reforward/protected/views/cabine...", array("newOrder" => Order, "goods" => array(Good), "myOrders" => array(), "user" => null, ...), true) 864 */ 865 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 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 |
#10 |
+
–
/homepages/18/d497956370/htdocs/reforward/framework/web/CController.php(782): CController->renderPartial("index", array("newOrder" => Order, "goods" => array(Good), "myOrders" => array(), "user" => null, ...), true) 777 */ 778 public function render($view,$data=null,$return=false) 779 { 780 if($this->beforeRender($view)) 781 { 782 $output=$this->renderPartial($view,$data,true); 783 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 784 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 785 786 $this->afterRender($view,$output); 787 |
#11 |
+
–
/homepages/18/d497956370/htdocs/reforward/protected/controllers/CabinetController.php(172): CController->render("index", array("newOrder" => Order, "goods" => array(Good), "myOrders" => array(), "user" => null, ...)) 167 } 168 } 169 } 170 171 172 $this->render('index', compact('newOrder', 'goods', 'myOrders', 'user', 'tab', 'countries')); 173 } 174 } 175 |
#12 |
unknown(0): CabinetController->actionIndex("newOrder")
|
#13 |
+
–
/homepages/18/d497956370/htdocs/reforward/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(CabinetController, array("newOrder")) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#14 |
+
–
/homepages/18/d497956370/htdocs/reforward/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(CabinetController, ReflectionMethod, array()) 42 { 43 $methodName='action'.$this->getId(); 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 49 $controller->$methodName(); 50 return true; 51 } 52 } |
#15 |
+
–
/homepages/18/d497956370/htdocs/reforward/framework/web/CController.php(308): CInlineAction->runWithParams(array()) 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; |
#16 |
+
–
/homepages/18/d497956370/htdocs/reforward/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(); |
#17 |
+
–
/homepages/18/d497956370/htdocs/reforward/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); |
#18 |
+
–
/homepages/18/d497956370/htdocs/reforward/framework/web/CWebApplication.php(282): CController->run("index") 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))); |
#19 |
+
–
/homepages/18/d497956370/htdocs/reforward/framework/web/CWebApplication.php(141): CWebApplication->runController("cabinet/index") 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. |
#20 |
+
–
/homepages/18/d497956370/htdocs/reforward/framework/base/CApplication.php(184): CWebApplication->processRequest() 179 public function run() 180 { 181 if($this->hasEventHandler('onBeginRequest')) 182 $this->onBeginRequest(new CEvent($this)); 183 register_shutdown_function(array($this,'end'),0,false); 184 $this->processRequest(); 185 if($this->hasEventHandler('onEndRequest')) 186 $this->onEndRequest(new CEvent($this)); 187 } 188 189 /** |
#21 |
+
–
/homepages/18/d497956370/htdocs/reforward/index.php(13): CApplication->run() 08 defined('YII_DEBUG') or define('YII_DEBUG',true); 09 // specify how many levels of call stack should be shown in each log message 10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 11 12 require_once($yii); 13 Yii::createWebApplication($config)->run(); |