/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/web/helpers/CHtml.php(98)
086 */ 087 public static $renderSpecialAttributesValue=true; 088 089 /** 090 * Encodes special characters into HTML entities. 091 * The {@link CApplication::charset application charset} will be used for encoding. 092 * @param string $text data to be encoded 093 * @return string the encoded data 094 * @see http://www.php.net/manual/en/function.htmlspecialchars.php 095 */ 096 public static function encode($text) 097 { 098 return htmlspecialchars($text,ENT_QUOTES,Yii::app()->charset); 099 } 100 101 /** 102 * Decodes special HTML entities back to the corresponding characters. 103 * This is the opposite of {@link encode()}. 104 * @param string $text data to be decoded 105 * @return string the decoded data 106 * @see http://www.php.net/manual/en/function.htmlspecialchars-decode.php 107 * @since 1.1.8 108 */ 109 public static function decode($text) 110 {
#0 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/web/helpers/CHtml.php(98): htmlspecialchars(array(1 => "Academia", 2 => "Empresa", 4 => "Gobierno estatal", 5 => "Gobierno federal", ...), 3, "utf-8") 093 * @return string the encoded data 094 * @see http://www.php.net/manual/en/function.htmlspecialchars.php 095 */ 096 public static function encode($text) 097 { 098 return htmlspecialchars($text,ENT_QUOTES,Yii::app()->charset); 099 } 100 101 /** 102 * Decodes special HTML entities back to the corresponding characters. 103 * This is the opposite of {@link encode()}. |
#1 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/utils/CFormatter.php(147): CHtml::encode(array(1 => "Academia", 2 => "Empresa", 4 => "Gobierno estatal", 5 => "Gobierno federal", ...)) 142 * @param mixed $value the value to be formatted 143 * @return string the formatted result 144 */ 145 public function formatText($value) 146 { 147 return CHtml::encode($value); 148 } 149 150 /** 151 * Formats the value as a HTML-encoded plain text and converts newlines with HTML br tags. 152 * @param mixed $value the value to be formatted |
#2 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/utils/CFormatter.php(124): CFormatter->formatText(array(1 => "Academia", 2 => "Empresa", 4 => "Gobierno estatal", 5 => "Gobierno federal", ...)) 119 */ 120 public function format($value,$type) 121 { 122 $method='format'.$type; 123 if(method_exists($this,$method)) 124 return $this->$method($value); 125 else 126 throw new CException(Yii::t('yii','Unknown type "{type}".',array('{type}'=>$type))); 127 } 128 129 /** |
#3 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/zii/widgets/CDetailView.php(215): CFormatter->format(array(1 => "Academia", 2 => "Empresa", 4 => "Gobierno estatal", 5 => "Gobierno federal", ...), "text") 210 elseif(isset($attribute['name'])) 211 $value=CHtml::value($this->data,$attribute['name']); 212 else 213 $value=null; 214 215 $tr['{value}']=$value===null ? $this->nullDisplay : $formatter->format($value,$attribute['type']); 216 217 $this->renderItem($attribute, $tr); 218 219 $i++; 220 } |
#4 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/web/CBaseController.php(173): CDetailView->run() 168 return ob_get_clean(); 169 } 170 else 171 { 172 $widget=$this->createWidget($className,$properties); 173 $widget->run(); 174 return $widget; 175 } 176 } 177 178 /** |
#5 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/views/semana/view.php(64): CBaseController->widget("zii.widgets.CDetailView", array("data" => Semana, "attributes" => array(array("name" => "actividad", "value" => "Recorridos"), array("name" => "descripcion", "type" => "raw", "value" => "El Profesor Ohaverdi (Hombre Árbol- Educador Ambiental y person..."), array("name" => "sector", "value" => array(1 => "Academia", 2 => "Empresa", 4 => "Gobierno estatal", 5 => "Gobierno federal", ...)), array("name" => "publico_meta", "value" => array(3 => "Educación Básica", 6 => "Educación Media Superior", 7 => "Educación Superior", 9 => "Público General")), ...))) 59 ), 60 'informes', 61 array( 62 'type' => 'raw', 63 'name' => 'url', 64 'value' => !empty($model->url) ? "<span style='font-size:12px;'>" . CHtml::link($model->url, $model->url, array('target' => '_blank', 'style' => 'color:#009BB7')) . "</span>" : '', 65 ), 66 ), 67 )); ?> 68 69 <?php if ($puede_modificar) { |
#6 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/web/CBaseController.php(126): require("/usr/local/servicios/php/mesnaturaleza/protected/views/semana/vi...") 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 } |
#7 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/web/CBaseController.php(95): CBaseController->renderInternal("/usr/local/servicios/php/mesnaturaleza/protected/views/semana/vi...", array("model" => Semana, "model_materiales" => array(Materiales, Materiales), "puede_modificar" => false), 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); |
#8 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/web/CController.php(869): CBaseController->renderFile("/usr/local/servicios/php/mesnaturaleza/protected/views/semana/vi...", array("model" => Semana, "model_materiales" => array(Materiales, Materiales), "puede_modificar" => false), 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 |
#9 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/web/CController.php(782): CController->renderPartial("view", array("model" => Semana, "model_materiales" => array(Materiales, Materiales), "puede_modificar" => false), 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 |
#10 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/controllers/SemanaController.php(61): CController->render("view", array("model" => Semana, "model_materiales" => array(Materiales, Materiales), "puede_modificar" => false)) 56 $model_materiales=Materiales::model()->findAllByAttributes(array('semana_id'=>$model->id)); 57 58 $this->render('view',array( 59 'model'=>$model, 60 'model_materiales'=>$model_materiales, 61 'puede_modificar' => $this->puedeModificar($model->usuarios_id, false), 62 )); 63 } 64 65 /** 66 * Creates a new model. |
#11 |
unknown(0): SemanaController->actionView("2464")
|
#12 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(SemanaController, array("2464")) 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#13 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(SemanaController, ReflectionMethod, array("r" => "semana/view", "id" => "2464")) 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 else 49 return $controller->$methodName(); 50 } 51 52 } |
#14 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/web/CController.php(308): CInlineAction->runWithParams(array("r" => "semana/view", "id" => "2464")) 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; |
#15 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/web/filters/CFilterChain.php(133): CController->runAction(CInlineAction) 128 $filter=$this->itemAt($this->filterIndex++); 129 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 130 $filter->filter($this); 131 } 132 else 133 $this->controller->runAction($this->action); 134 } 135 } |
#16 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/web/filters/CFilter.php(40): CFilterChain->run() 35 */ 36 public function filter($filterChain) 37 { 38 if($this->preFilter($filterChain)) 39 { 40 $filterChain->run(); 41 $this->postFilter($filterChain); 42 } 43 } 44 45 /** |
#17 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/web/CController.php(1145): CFilter->filter(CFilterChain) 1140 */ 1141 public function filterAccessControl($filterChain) 1142 { 1143 $filter=new CAccessControlFilter; 1144 $filter->setRules($this->accessRules()); 1145 $filter->filter($filterChain); 1146 } 1147 1148 /** 1149 * Returns a persistent page state value. 1150 * A page state is a variable that is persistent across POST requests of the same page. |
#18 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/web/filters/CInlineFilter.php(58): CController->filterAccessControl(CFilterChain) 53 * @param CFilterChain $filterChain the filter chain that the filter is on. 54 */ 55 public function filter($filterChain) 56 { 57 $method='filter'.$this->name; 58 $filterChain->controller->$method($filterChain); 59 } 60 } |
#19 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/web/filters/CFilterChain.php(130): CInlineFilter->filter(CFilterChain) 125 { 126 if($this->offsetExists($this->filterIndex)) 127 { 128 $filter=$this->itemAt($this->filterIndex++); 129 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 130 $filter->filter($this); 131 } 132 else 133 $this->controller->runAction($this->action); 134 } 135 } |
#20 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/web/CController.php(291): CFilterChain->run() 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); 292 $this->_action=$priorAction; 293 } 294 } 295 296 /** |
#21 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array("accessControl", "postOnly + delete")) 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); |
#22 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/web/CWebApplication.php(282): CController->run("view") 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))); |
#23 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/web/CWebApplication.php(141): CWebApplication->runController("semana/view") 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. |
#24 |
+
–
/usr/local/servicios/php/mesnaturaleza/protected/vendors/yii-1.1.13.e9e4a0/framework/base/CApplication.php(169): CWebApplication->processRequest() 164 public function run() 165 { 166 if($this->hasEventHandler('onBeginRequest')) 167 $this->onBeginRequest(new CEvent($this)); 168 register_shutdown_function(array($this,'end'),0,false); 169 $this->processRequest(); 170 if($this->hasEventHandler('onEndRequest')) 171 $this->onEndRequest(new CEvent($this)); 172 } 173 174 /** |
#25 |
+
–
/usr/local/servicios/php/mesnaturaleza/index.php(17): CApplication->run() 12 defined('YII_DEBUG') or define('YII_DEBUG',true); 13 // specify how many levels of call stack should be shown in each log message 14 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 15 16 require_once($yii); 17 Yii::createWebApplication($config)->run(); |