/home/radanhor/public_html/protected/views/horse/_video.php(13)
01 02 03 04 <!doctype html> 05 <html> 06 <head> 07 08 09 </head> 10 11 <body style="text-align: center;background-color: #000;"> 12 <?php $val= HorseMovie::model()->findByPk($id) ?> 13 <video id="myvideo" class="underlay" width="50%" preload="metadata" controls="controls" AUTOPLAY="TRUE" poster="<?php echo $val->showPreview() ?>"> 14 15 <?php if($val->movie_ogv !== null): ?> 16 <source src="<?php echo $val->getMovieOgvSrc(); ?>" type='video/ogg; codecs="theora, vorbis"'/> 17 <?php endif;?> 18 <?php if($val->movie_webm !== null): ?> 19 <source src="<?php echo $val->getMovieWebmSrc(); ?>" type='video/webm' > 20 <?php endif;?> 21 <source src="<?php echo $val->getMovieSrc(); ?>" type="video/mp4" > 22 23 24 مرورگر شما پخش ویدیو را پشتیبانی نمی کند!!! 25 </video>
#0 |
+
–
/home/radanhor/yii1.1.15/yiilite.php(3419): require() 3414 $data=$_data_; 3415 if($_return_) 3416 { 3417 ob_start(); 3418 ob_implicit_flush(false); 3419 require($_viewFile_); 3420 return ob_get_clean(); 3421 } 3422 else 3423 require($_viewFile_); 3424 } |
#1 |
+
–
/home/radanhor/yii1.1.15/yiilite.php(3398): CBaseController->renderInternal("/home/radanhor/public_html/protected/views/horse/_video.php", array("id" => "387"), true) 3393 { 3394 $widgetCount=count($this->_widgetStack); 3395 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 3396 $content=$renderer->renderFile($this,$viewFile,$data,$return); 3397 else 3398 $content=$this->renderInternal($viewFile,$data,$return); 3399 if(count($this->_widgetStack)===$widgetCount) 3400 return $content; 3401 else 3402 { 3403 $widget=end($this->_widgetStack); |
#2 |
+
–
/home/radanhor/yii1.1.15/yiilite.php(3822): CBaseController->renderFile("/home/radanhor/public_html/protected/views/horse/_video.php", array("id" => "387"), true) 3817 } 3818 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 3819 { 3820 if(($viewFile=$this->getViewFile($view))!==false) 3821 { 3822 $output=$this->renderFile($viewFile,$data,true); 3823 if($processOutput) 3824 $output=$this->processOutput($output); 3825 if($return) 3826 return $output; 3827 else |
#3 |
+
–
/home/radanhor/public_html/protected/controllers/HorseController.php(65): CController->renderPartial("_video", array("id" => "387")) 60 61 )); 62 } 63 64 public function actionVideo($id){ 65 $this->renderPartial('_video',array('id'=>$id)); 66 } 67 68 69 /** 70 * Lists all models. |
#4 |
unknown(0): HorseController->actionVideo("387")
|
#5 |
+
–
/home/radanhor/yii1.1.15/yiilite.php(4039): ReflectionMethod->invokeArgs(HorseController, array("387")) 4034 elseif($param->isDefaultValueAvailable()) 4035 $ps[]=$param->getDefaultValue(); 4036 else 4037 return false; 4038 } 4039 $method->invokeArgs($object,$ps); 4040 return true; 4041 } 4042 } 4043 class CInlineAction extends CAction 4044 { |
#6 |
+
–
/home/radanhor/yii1.1.15/yiilite.php(4056): CAction->runWithParamsInternal(HorseController, ReflectionMethod, array("id" => "387")) 4051 { 4052 $methodName='action'.$this->getId(); 4053 $controller=$this->getController(); 4054 $method=new ReflectionMethod($controller, $methodName); 4055 if($method->getNumberOfParameters()>0) 4056 return $this->runWithParamsInternal($controller, $method, $params); 4057 else 4058 return $controller->$methodName(); 4059 } 4060 } 4061 class CWebUser extends CApplicationComponent implements IWebUser |
#7 |
+
–
/home/radanhor/yii1.1.15/yiilite.php(3570): CInlineAction->runWithParams(array("id" => "387")) 3565 { 3566 $priorAction=$this->_action; 3567 $this->_action=$action; 3568 if($this->beforeAction($action)) 3569 { 3570 if($action->runWithParams($this->getActionParams())===false) 3571 $this->invalidActionParams($action); 3572 else 3573 $this->afterAction($action); 3574 } 3575 $this->_action=$priorAction; |
#8 |
+
–
/home/radanhor/yii1.1.15/yiilite.php(6743): CController->runAction(CInlineAction) 6738 { 6739 $filter=$this->itemAt($this->filterIndex++); 6740 $filter->filter($this); 6741 } 6742 else 6743 $this->controller->runAction($this->action); 6744 } 6745 } 6746 class CFilter extends CComponent implements IFilter 6747 { 6748 public function filter($filterChain) |
#9 |
+
–
/home/radanhor/yii1.1.15/yiilite.php(6752): CFilterChain->run() 6747 { 6748 public function filter($filterChain) 6749 { 6750 if($this->preFilter($filterChain)) 6751 { 6752 $filterChain->run(); 6753 $this->postFilter($filterChain); 6754 } 6755 } 6756 public function init() 6757 { |
#10 |
+
–
/home/radanhor/yii1.1.15/yiilite.php(3948): CFilter->filter(CFilterChain) 3943 } 3944 public function filterAccessControl($filterChain) 3945 { 3946 $filter=new CAccessControlFilter; 3947 $filter->setRules($this->accessRules()); 3948 $filter->filter($filterChain); 3949 } 3950 public function getPageState($name,$defaultValue=null) 3951 { 3952 if($this->_pageStates===null) 3953 $this->_pageStates=$this->loadPageStates(); |
#11 |
+
–
/home/radanhor/yii1.1.15/yiilite.php(6785): CController->filterAccessControl(CFilterChain) 6780 array('{filter}'=>$filterName, '{class}'=>get_class($controller)))); 6781 } 6782 public function filter($filterChain) 6783 { 6784 $method='filter'.$this->name; 6785 $filterChain->controller->$method($filterChain); 6786 } 6787 } 6788 class CAccessControlFilter extends CFilter 6789 { 6790 public $message; |
#12 |
+
–
/home/radanhor/yii1.1.15/yiilite.php(6740): CInlineFilter->filter(CFilterChain) 6735 public function run() 6736 { 6737 if($this->offsetExists($this->filterIndex)) 6738 { 6739 $filter=$this->itemAt($this->filterIndex++); 6740 $filter->filter($this); 6741 } 6742 else 6743 $this->controller->runAction($this->action); 6744 } 6745 } |
#13 |
+
–
/home/radanhor/yii1.1.15/yiilite.php(3560): CFilterChain->run() 3555 $this->runAction($action); 3556 else 3557 { 3558 $priorAction=$this->_action; 3559 $this->_action=$action; 3560 CFilterChain::create($this,$action,$filters)->run(); 3561 $this->_action=$priorAction; 3562 } 3563 } 3564 public function runAction($action) 3565 { |
#14 |
+
–
/home/radanhor/yii1.1.15/yiilite.php(3545): CController->runActionWithFilters(CInlineAction, array("accessControl")) 3540 { 3541 if(($parent=$this->getModule())===null) 3542 $parent=Yii::app(); 3543 if($parent->beforeControllerAction($this,$action)) 3544 { 3545 $this->runActionWithFilters($action,$this->filters()); 3546 $parent->afterControllerAction($this,$action); 3547 } 3548 } 3549 else 3550 $this->missingAction($actionID); |
#15 |
+
–
/home/radanhor/yii1.1.15/yiilite.php(1746): CController->run("video") 1741 { 1742 list($controller,$actionID)=$ca; 1743 $oldController=$this->_controller; 1744 $this->_controller=$controller; 1745 $controller->init(); 1746 $controller->run($actionID); 1747 $this->_controller=$oldController; 1748 } 1749 else 1750 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 1751 array('{route}'=>$route===''?$this->defaultController:$route))); |
#16 |
+
–
/home/radanhor/yii1.1.15/yiilite.php(1666): CWebApplication->runController("horse/video") 1661 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 1662 $_GET[$name]=$value; 1663 } 1664 else 1665 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 1666 $this->runController($route); 1667 } 1668 protected function registerCoreComponents() 1669 { 1670 parent::registerCoreComponents(); 1671 $components=array( |
#17 |
+
–
/home/radanhor/yii1.1.15/yiilite.php(1191): CWebApplication->processRequest() 1186 public function run() 1187 { 1188 if($this->hasEventHandler('onBeginRequest')) 1189 $this->onBeginRequest(new CEvent($this)); 1190 register_shutdown_function(array($this,'end'),0,false); 1191 $this->processRequest(); 1192 if($this->hasEventHandler('onEndRequest')) 1193 $this->onEndRequest(new CEvent($this)); 1194 } 1195 public function end($status=0,$exit=true) 1196 { |
#18 |
+
–
/home/radanhor/public_html/index.php(15): CApplication->run() 10 defined('YII_DEBUG') or define('YII_DEBUG',true); 11 // specify how many levels of call stack should be shown in each log message 12 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 13 14 require_once($yii); 15 Yii::createWebApplication($config)->run(); |