/home/www/new.stlyrics.com/html/themes/front/views/songs/artist/_text_item.php(12)
01 <?php if ($data['cc'] > 0): ?> 02 <hr> 03 <h2 id="<?php echo $data['a_id']; ?>">Lyrics for album: <?php echo CHtml::encode($data['a_name']).(($data['a_year'] != 0 && $data['a_year'] < 2100) ? " ({$data['a_year']})" : ''); ?></h2> 04 05 <div class="list-group songArtist"> 06 <?php 07 08 $itemCount = count($data['txt']); 09 $index = 0; 10 foreach ($texts as $model) { 11 if(in_array($model->id, $data['txt'])): 12 if (($c = $model->canonical->fronturi) === null) $c = $model->fronturi; 13 14 ?> 15 16 <<?php echo !$model->isnoindex ? 'a'. $model -> nofollow : 'div';?> <?php echo !$model->isnoindex ? 'href="'.$c.'"' : ''; ?> class="list-group-item <?php echo !$model->isnoindex ? '' : 'disabled'; ?>"> 17 <div class="h4"><span class="pull-right icon">›</span><?php echo CHtml::encode($model->iname); ?></div> 18 </<?php echo !$model->isnoindex ? 'a' : 'div';?>> 19 20 <?php 21 endif; 22 } 23 ?> 24 </div>
#0 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/db/CDbCommand.php(396): CDbCommand->queryInternal("fetchAll", array(2), array()) 391 * An empty array is returned if the query results in nothing. 392 * @throws CException execution failed 393 */ 394 public function queryAll($fetchAssociative=true,$params=array()) 395 { 396 return $this->queryInternal('fetchAll',$fetchAssociative ? $this->_fetchMode : PDO::FETCH_NUM, $params); 397 } 398 399 /** 400 * Executes the SQL statement and returns the first row of the result. 401 * This is a convenient method of {@link query} when only the first row of data is needed. |
#1 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/db/ar/CActiveFinder.php(803): CDbCommand->queryAll() 798 * @param CJoinQuery $query the query to be executed. 799 */ 800 public function runQuery($query) 801 { 802 $command=$query->createCommand($this->_builder); 803 foreach($command->queryAll() as $row) 804 $this->populateRecord($query,$row); 805 } 806 807 /** 808 * Populates the active records with the query data. |
#2 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/db/ar/CActiveFinder.php(507): CJoinElement->runQuery(CJoinQuery) 502 $this->_joined=true; 503 $child->_joined=true; 504 505 $this->_finder->baseLimited=false; 506 $child->buildQuery($query); 507 $child->runQuery($query); 508 foreach($child->children as $c) 509 $c->find(); 510 511 if(empty($child->records)) 512 return; |
#3 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/db/ar/CActiveFinder.php(163): CJoinElement->lazyFind(DbText) 158 * This method is internally invoked by {@link CActiveRecord} to support lazy loading. 159 * @param CActiveRecord $baseRecord the base record whose related objects are to be loaded 160 */ 161 public function lazyFind($baseRecord) 162 { 163 $this->_joinTree->lazyFind($baseRecord); 164 if(!empty($this->_joinTree->children)) 165 { 166 foreach($this->_joinTree->children as $child) 167 $child->afterFind(); 168 } |
#4 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/db/ar/CActiveRecord.php(281): CActiveFinder->lazyFind(DbText) 276 else 277 $r=$name; 278 unset($this->_related[$name]); 279 280 $finder=$this->getActiveFinder($r); 281 $finder->lazyFind($this); 282 283 if(!isset($this->_related[$name])) 284 { 285 if($relation instanceof CHasManyRelation) 286 $this->_related[$name]=array(); |
#5 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/db/ar/CActiveRecord.php(143): CActiveRecord->getRelated("canonical") 138 elseif(isset($this->getMetaData()->columns[$name])) 139 return null; 140 elseif(isset($this->_related[$name])) 141 return $this->_related[$name]; 142 elseif(isset($this->getMetaData()->relations[$name])) 143 return $this->getRelated($name); 144 else 145 return parent::__get($name); 146 } 147 148 /** |
#6 |
+
–
/home/www/new.stlyrics.com/html/themes/front/views/songs/artist/_text_item.php(12): CActiveRecord->__get("canonical") 07 08 $itemCount = count($data['txt']); 09 $index = 0; 10 foreach ($texts as $model) { 11 if(in_array($model->id, $data['txt'])): 12 if (($c = $model->canonical->fronturi) === null) $c = $model->fronturi; 13 14 ?> 15 16 <<?php echo !$model->isnoindex ? 'a'. $model -> nofollow : 'div';?> <?php echo !$model->isnoindex ? 'href="'.$c.'"' : ''; ?> class="list-group-item <?php echo !$model->isnoindex ? '' : 'disabled'; ?>"> 17 <div class="h4"><span class="pull-right icon">›</span><?php echo CHtml::encode($model->iname); ?></div> |
#7 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/web/CBaseController.php(130): require("/home/www/new.stlyrics.com/html/themes/front/views/songs/artist/...") 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } 132 133 /** 134 * Creates a widget and initializes it. 135 * This method first creates the specified widget instance. |
#8 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/web/CBaseController.php(95): CBaseController->renderInternal("/home/www/new.stlyrics.com/html/themes/front/views/songs/artist/...", array("artist" => DbArtist, "texts" => array(DbText, DbText, DbText, DbText, ...), "index" => 9, "data" => array("art_id" => "62925", "a_id" => "179229", "a_name" => "Other Songs", "a_i" => "1", ...), ...), false) 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 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/zii/widgets/CListView.php(291): CBaseController->renderFile("/home/www/new.stlyrics.com/html/themes/front/views/songs/artist/...", array("artist" => DbArtist, "texts" => array(DbText, DbText, DbText, DbText, ...), "index" => 9, "data" => array("art_id" => "62925", "a_id" => "179229", "a_name" => "Other Songs", "a_i" => "1", ...), ...)) 286 { 287 $data=$this->viewData; 288 $data['index']=$i; 289 $data['data']=$item; 290 $data['widget']=$this; 291 $owner->renderFile($viewFile,$data); 292 if($j++ < $n-1) 293 echo $this->separator; 294 } 295 } 296 else |
#10 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/zii/widgets/CBaseListView.php(167): CListView->renderItems() 162 protected function renderSection($matches) 163 { 164 $method='render'.$matches[1]; 165 if(method_exists($this,$method)) 166 { 167 $this->$method(); 168 $html=ob_get_contents(); 169 ob_clean(); 170 return $html; 171 } 172 else |
#11 |
unknown(0): CBaseListView->renderSection(array("{items}", "items"))
|
#12 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/zii/widgets/CBaseListView.php(150): preg_replace_callback("/{(\w+)}/", array(SimpleListView, "renderSection"), "{items}") 145 * The rendering results will replace the corresponding placeholders in {@link template}. 146 */ 147 public function renderContent() 148 { 149 ob_start(); 150 echo preg_replace_callback("/{(\w+)}/",array($this,'renderSection'),$this->template); 151 ob_end_flush(); 152 } 153 154 /** 155 * Renders a section. |
#13 |
+
–
/home/www/new.stlyrics.com/html/protected/components/SimpleListView.php(31): CBaseListView->renderContent() 26 * Override CListView::run() to prevent registration of client script. 27 */ 28 public function run() 29 { 30 echo CHtml::openTag($this->tagName,$this->htmlOptions)."\n"; 31 $this->renderContent(); 32 echo CHtml::closeTag($this->tagName); 33 } 34 } |
#14 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/web/CBaseController.php(173): SimpleListView->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 /** |
#15 |
+
–
/home/www/new.stlyrics.com/html/themes/front/views/songs/artist/index.php(167): CBaseController->widget("SimpleListView", array("id" => "body65f99a610f0fb", "dataProvider" => CArrayDataProvider, "itemView" => "_text_item", "template" => "{items}", ...)) 162 'pager'=>array( 163 'header' => false 164 ), 165 'itemsCssClass' => 'list-group', 166 'htmlOptions' => array('class' => ''), 167 )); 168 $this->endCache(); 169 } 170 ?> 171 172 <br><br> |
#16 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/web/CBaseController.php(126): require("/home/www/new.stlyrics.com/html/themes/front/views/songs/artist/...") 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 } |
#17 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/web/CBaseController.php(95): CBaseController->renderInternal("/home/www/new.stlyrics.com/html/themes/front/views/songs/artist/...", array("model" => DbArtist), 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); |
#18 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/web/CController.php(869): CBaseController->renderFile("/home/www/new.stlyrics.com/html/themes/front/views/songs/artist/...", array("model" => DbArtist), 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 |
#19 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/web/CController.php(782): CController->renderPartial("index", array("model" => DbArtist), 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 |
#20 |
+
–
/home/www/new.stlyrics.com/html/protected/controllers/songs/songs/ArtistController.php(15): CController->render("index", array("model" => DbArtist)) 10 if ($model===null || $model -> sym -> link != $_GET['sym'] ) { 11 throw new CHttpException(404, 'The requested page does not exist.'); 12 } 13 14 $this->setParams($model); 15 $this->render('index', array('model'=>$model)); 16 } 17 18 public function setParams($model, $plotsummary='') 19 { 20 //Madonna Lyrics. Page # 1 |
#21 |
unknown(0): ArtistController->actionIndex("loudonwainwrightiii62925")
|
#22 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(ArtistController, array("loudonwainwrightiii62925")) 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#23 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(ArtistController, ReflectionMethod, array("sym" => "l", "artist" => "loudonwainwrightiii62925", "Album_page" => null, "theme" => "front")) 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 } |
#24 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/web/CController.php(308): CInlineAction->runWithParams(array("sym" => "l", "artist" => "loudonwainwrightiii62925", "Album_page" => null, "theme" => "front")) 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; |
#25 |
+
–
/home/www/new.stlyrics.com/html/yii/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(); |
#26 |
+
–
/home/www/new.stlyrics.com/html/yii/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); |
#27 |
+
–
/home/www/new.stlyrics.com/html/yii/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))); |
#28 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/web/CWebApplication.php(141): CWebApplication->runController("//songs/artist/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. |
#29 |
+
–
/home/www/new.stlyrics.com/html/yii/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 /** |
#30 |
+
–
/home/www/new.stlyrics.com/html/protected/components/WebApplicationEndBehavior.php(25): CApplication->run() 20 // Attach the changeModulePaths event handler 21 // and raise it. 22 $this->onModuleCreate = array($this, 'changeModulePaths'); 23 $this->onModuleCreate(new CEvent($this->owner)); 24 25 $this->owner->run(); // Run application. 26 } 27 28 // This event should be raised when CWebApplication 29 // or CWebModule instances are being initialized. 30 public function onModuleCreate($event) |
#31 |
unknown(0): WebApplicationEndBehavior->runEnd("songs")
|
#32 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/base/CComponent.php(261): call_user_func_array(array(WebApplicationEndBehavior, "runEnd"), array("songs")) 256 if($this->_m!==null) 257 { 258 foreach($this->_m as $object) 259 { 260 if($object->getEnabled() && method_exists($object,$name)) 261 return call_user_func_array(array($object,$name),$parameters); 262 } 263 } 264 if(class_exists('Closure', false) && $this->canGetProperty($name) && $this->$name instanceof Closure) 265 return call_user_func_array($this->$name, $parameters); 266 throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".', |
#33 |
+
–
/home/www/new.stlyrics.com/html/index.php(117): CComponent->__call("runEnd", array("songs")) 112 date_default_timezone_set($timezone); 113 114 $global = dirname(__FILE__).'/yii/global.php'; 115 require_once($global); 116 require_once(dirname(__FILE__).'/yii/framework/'.$yii); 117 Yii::createWebApplication(dirname(__FILE__).'/protected/config/'.$config)->runEnd($end); |
#34 |
+
–
/home/www/new.stlyrics.com/html/index.php(117): CWebApplication->runEnd("songs") 112 date_default_timezone_set($timezone); 113 114 $global = dirname(__FILE__).'/yii/global.php'; 115 require_once($global); 116 require_once(dirname(__FILE__).'/yii/framework/'.$yii); 117 Yii::createWebApplication(dirname(__FILE__).'/protected/config/'.$config)->runEnd($end); |