/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/ar/CActiveRecord.php(411): CActiveRecordMetaData->__construct(DbCanonical) 406 { 407 $className=get_class($this); 408 if(!array_key_exists($className,self::$_md)) 409 { 410 self::$_md[$className]=null; // preventing recursive invokes of {@link getMetaData()} via {@link __get()} 411 self::$_md[$className]=new CActiveRecordMetaData($this); 412 } 413 return self::$_md[$className]; 414 } 415 416 /** |
#1 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/db/ar/CActiveRecord.php(658): CActiveRecord->getMetaData() 653 * Returns the metadata of the table that this AR belongs to 654 * @return CDbTableSchema the metadata of the table that this AR belongs to 655 */ 656 public function getTableSchema() 657 { 658 return $this->getMetaData()->tableSchema; 659 } 660 661 /** 662 * Returns the command builder used by this AR. 663 * @return CDbCommandBuilder the command builder used by this AR |
#2 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/db/ar/CActiveFinder.php(383): CActiveRecord->getTableSchema() 378 $this->_parent=$parent; 379 $this->model=$this->_finder->getModel($relation->className); 380 $this->_builder=$this->model->getCommandBuilder(); 381 $this->tableAlias=$relation->alias===null?$relation->name:$relation->alias; 382 $this->rawTableAlias=$this->_builder->getSchema()->quoteTableName($this->tableAlias); 383 $this->_table=$this->model->getTableSchema(); 384 } 385 else // root element, the first parameter is the model. 386 { 387 $this->model=$relation; 388 $this->_builder=$relation->getCommandBuilder(); |
#3 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/db/ar/CActiveFinder.php(278): CJoinElement->__construct(CActiveFinder, CHasOneRelation, CJoinElement, 2) 273 { 274 $element=$parent->children[$with]; 275 $element->relation=$relation; 276 } 277 else 278 $element=new CJoinElement($this,$relation,$parent,++$this->_joinCount); 279 if(!empty($relation->through)) 280 { 281 $slave=$this->buildJoinTree($parent,$relation->through,array('select'=>'')); 282 $slave->master=$element; 283 $element->slave=$slave; |
#4 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/db/ar/CActiveFinder.php(281): CActiveFinder->buildJoinTree(CJoinElement, "text_canon", array("select" => "")) 276 } 277 else 278 $element=new CJoinElement($this,$relation,$parent,++$this->_joinCount); 279 if(!empty($relation->through)) 280 { 281 $slave=$this->buildJoinTree($parent,$relation->through,array('select'=>'')); 282 $slave->master=$element; 283 $element->slave=$slave; 284 } 285 $parent->children[$with]=$element; 286 if(!empty($relation->with)) |
#5 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/db/ar/CActiveFinder.php(48): CActiveFinder->buildJoinTree(CJoinElement, "canonical") 43 */ 44 public function __construct($model,$with) 45 { 46 $this->_builder=$model->getCommandBuilder(); 47 $this->_joinTree=new CJoinElement($this,$model); 48 $this->buildJoinTree($this->_joinTree,$with); 49 } 50 51 /** 52 * Do not call this method. This method is used internally to perform the relational query 53 * based on the given DB criteria. |
#6 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/db/ar/CActiveRecord.php(909): CActiveFinder->__construct(DbText, "canonical") 904 * 905 * @since 1.1.14 906 */ 907 public function getActiveFinder($with) 908 { 909 return new CActiveFinder($this,$with); 910 } 911 912 /** 913 * This event is raised before an AR finder performs a count call. 914 * If you want to access or modify the query criteria used for the |
#7 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/db/ar/CActiveRecord.php(280): CActiveRecord->getActiveFinder("canonical") 275 } 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) |
#8 |
+
–
/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 /** |
#9 |
+
–
/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> |
#10 |
+
–
/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. |
#11 |
+
–
/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" => 0, "data" => array("art_id" => "30276", "a_id" => "88133", "a_name" => "Under Black Skies", "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); |
#12 |
+
–
/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" => 0, "data" => array("art_id" => "30276", "a_id" => "88133", "a_name" => "Under Black Skies", "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 |
#13 |
+
–
/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 |
#14 |
unknown(0): CBaseListView->renderSection(array("{items}", "items"))
|
#15 |
+
–
/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. |
#16 |
+
–
/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 } |
#17 |
+
–
/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 /** |
#18 |
+
–
/home/www/new.stlyrics.com/html/themes/front/views/songs/artist/index.php(167): CBaseController->widget("SimpleListView", array("id" => "body6605571240bf7", "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> |
#19 |
+
–
/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 } |
#20 |
+
–
/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); |
#21 |
+
–
/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 |
#22 |
+
–
/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 |
#23 |
+
–
/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 |
#24 |
unknown(0): ArtistController->actionIndex("purifiedinblood30276")
|
#25 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(ArtistController, array("purifiedinblood30276")) 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#26 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(ArtistController, ReflectionMethod, array("sym" => "p", "artist" => "purifiedinblood30276", "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 } |
#27 |
+
–
/home/www/new.stlyrics.com/html/yii/framework/web/CController.php(308): CInlineAction->runWithParams(array("sym" => "p", "artist" => "purifiedinblood30276", "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; |
#28 |
+
–
/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(); |
#29 |
+
–
/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); |
#30 |
+
–
/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))); |
#31 |
+
–
/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. |
#32 |
+
–
/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 /** |
#33 |
+
–
/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) |
#34 |
unknown(0): WebApplicationEndBehavior->runEnd("songs")
|
#35 |
+
–
/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}".', |
#36 |
+
–
/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); |
#37 |
+
–
/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); |