/home/elearn-new/public_html/protected/controllers/SiteController.php(1889)
1877 if ($length > $limit) { 1878 break; 1879 } 1880 } 1881 1882 return implode(array_slice($parts, 0, $last_part)) . ($addElipsis ? '...' : ''); 1883 } 1884 1885 public function PMT($i, $n, $p) { 1886 if($i) 1887 return $i * $p * pow((1 + $i), $n) / (1 - pow((1 + $i), $n)); 1888 else 1889 return 0-$p/$n; 1890 } 1891 1892 1893 public function actionJobAssist() { 1894 $this->breadcrumbs = array(array('Job Assist')); 1895 $this->pageTitle = 'Job Assist'; 1896 $this->render('job-assist'); 1897 } 1898 1899 1900 public function actionUniAssist() { 1901 $this->breadcrumbs = array(array('Uni Assist'));
#0 |
+
–
/home/elearn-new/public_html/protected/controllers/SiteController.php(1921): SiteController->PMT(0, null, 0) 1916 $loan_amount = $course_cost - $deposit; 1917 $term = 3; 1918 $interest_rate = $course->pay4later_rate; 1919 $annuity_rate = ($interest_rate / 12) / 100; 1920 $loan_months = $course->pay4later_payments; 1921 $monthly_payment = 0 - $this->PMT($annuity_rate, $loan_months, $loan_amount); 1922 1923 $online_course_cost = $course->OnlineFullPrice; 1924 $online_course_cost = $online_course_cost < 500 ? 500 : $online_course_cost; 1925 1926 $online_deposit = round($online_course_cost * .05, 2); |
#1 |
+
–
/home/elearn-new/public_html/protected/views/site/course_dev_detail.php(29): SiteController->getPay4LaterDataCSL(Courses) 24 $p4l_online_loan_months = $p4l_online_term*12; 25 $p4l_online_interest_rate = 12.9; 26 $p4l_online_annuity_rate = ($p4l_online_interest_rate/12)/100; 27 $p4l_online_monthly_payment -= PMT($p4l_online_annuity_rate,$p4l_online_loan_months,$p4l_online_loan_amount); 28 29 $pay4later = $this->getPay4LaterDataCSL($course); 30 31 ?> 32 33 <script language="javascript" type="text/javascript"> 34 var _sac = _sac || []; |
#2 |
+
–
/home/elearn-new/public_html/yii/framework/web/CBaseController.php(119): require("/home/elearn-new/public_html/protected/views/site/course_dev_det...") 114 $data=$_data_; 115 if($_return_) 116 { 117 ob_start(); 118 ob_implicit_flush(false); 119 require($_viewFile_); 120 return ob_get_clean(); 121 } 122 else 123 require($_viewFile_); 124 } |
#3 |
+
–
/home/elearn-new/public_html/yii/framework/web/CBaseController.php(88): CBaseController->renderInternal("/home/elearn-new/public_html/protected/views/site/course_dev_det...", array("page" => Page, "course" => Courses, "model" => Reviews), true) 83 { 84 $widgetCount=count($this->_widgetStack); 85 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 86 $content=$renderer->renderFile($this,$viewFile,$data,$return); 87 else 88 $content=$this->renderInternal($viewFile,$data,$return); 89 if(count($this->_widgetStack)===$widgetCount) 90 return $content; 91 else 92 { 93 $widget=end($this->_widgetStack); |
#4 |
+
–
/home/elearn-new/public_html/yii/framework/web/CController.php(866): CBaseController->renderFile("/home/elearn-new/public_html/protected/views/site/course_dev_det...", array("page" => Page, "course" => Courses, "model" => Reviews), true) 861 */ 862 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 863 { 864 if(($viewFile=$this->getViewFile($view))!==false) 865 { 866 $output=$this->renderFile($viewFile,$data,true); 867 if($processOutput) 868 $output=$this->processOutput($output); 869 if($return) 870 return $output; 871 else |
#5 |
+
–
/home/elearn-new/public_html/yii/framework/web/CController.php(779): CController->renderPartial("course_dev_detail", array("page" => Page, "course" => Courses, "model" => Reviews), true) 774 */ 775 public function render($view,$data=null,$return=false) 776 { 777 if($this->beforeRender($view)) 778 { 779 $output=$this->renderPartial($view,$data,true); 780 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 781 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 782 783 $this->afterRender($view,$output); 784 |
#6 |
+
–
/home/elearn-new/public_html/protected/controllers/SiteController.php(993): CController->render("course_dev_detail", array("page" => Page, "course" => Courses, "model" => Reviews)) 988 $this->layout = "//layouts/public_new"; 989 // $this->debugx($page); 990 $page->template = 'course_dev_detail_new'; 991 } 992 993 $this->render($render,array('page' => $page,'course' => $course, 'model' => $model)); 994 } 995 996 997 public function actionCourseDetailsHE($id) 998 { |
#7 |
unknown(0): SiteController->actionCourseDetails("writing-saleable-articles")
|
#8 |
+
–
/home/elearn-new/public_html/yii/framework/web/actions/CAction.php(104): ReflectionMethod->invokeArgs(SiteController, array("writing-saleable-articles")) 099 else if($param->isDefaultValueAvailable()) 100 $ps[]=$param->getDefaultValue(); 101 else 102 return false; 103 } 104 $method->invokeArgs($object,$ps); 105 return true; 106 } 107 } |
#9 |
+
–
/home/elearn-new/public_html/yii/framework/web/actions/CInlineAction.php(48): CAction->runWithParamsInternal(SiteController, ReflectionMethod, array("porc" => "xhAonIipuwedwDDeqvyesuruClrDkze", "id" => "writing-saleable-articles")) 43 { 44 $methodName='action'.$this->getId(); 45 $controller=$this->getController(); 46 $method=new ReflectionMethod($controller, $methodName); 47 if($method->getNumberOfParameters()>0) 48 return $this->runWithParamsInternal($controller, $method, $params); 49 else 50 return $controller->$methodName(); 51 } 52 53 } |
#10 |
+
–
/home/elearn-new/public_html/yii/framework/web/CController.php(300): CInlineAction->runWithParams(array("porc" => "xhAonIipuwedwDDeqvyesuruClrDkze", "id" => "writing-saleable-articles")) 295 { 296 $priorAction=$this->_action; 297 $this->_action=$action; 298 if($this->beforeAction($action)) 299 { 300 if($action->runWithParams($this->getActionParams())===false) 301 $this->invalidActionParams($action); 302 else 303 $this->afterAction($action); 304 } 305 $this->_action=$priorAction; |
#11 |
+
–
/home/elearn-new/public_html/yii/framework/web/CController.php(278): CController->runAction(CInlineAction) 273 * @see runAction 274 */ 275 public function runActionWithFilters($action,$filters) 276 { 277 if(empty($filters)) 278 $this->runAction($action); 279 else 280 { 281 $priorAction=$this->_action; 282 $this->_action=$action; 283 CFilterChain::create($this,$action,$filters)->run(); |
#12 |
+
–
/home/elearn-new/public_html/yii/framework/web/CController.php(257): CController->runActionWithFilters(CInlineAction, array()) 252 { 253 if(($parent=$this->getModule())===null) 254 $parent=Yii::app(); 255 if($parent->beforeControllerAction($this,$action)) 256 { 257 $this->runActionWithFilters($action,$this->filters()); 258 $parent->afterControllerAction($this,$action); 259 } 260 } 261 else 262 $this->missingAction($actionID); |
#13 |
+
–
/home/elearn-new/public_html/yii/framework/web/CWebApplication.php(277): CController->run("coursedetails") 272 { 273 list($controller,$actionID)=$ca; 274 $oldController=$this->_controller; 275 $this->_controller=$controller; 276 $controller->init(); 277 $controller->run($actionID); 278 $this->_controller=$oldController; 279 } 280 else 281 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 282 array('{route}'=>$route===''?$this->defaultController:$route))); |
#14 |
+
–
/home/elearn-new/public_html/yii/framework/web/CWebApplication.php(136): CWebApplication->runController("site/coursedetails") 131 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 132 $_GET[$name]=$value; 133 } 134 else 135 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 136 $this->runController($route); 137 } 138 139 /** 140 * Registers the core application components. 141 * This method overrides the parent implementation by registering additional core components. |
#15 |
+
–
/home/elearn-new/public_html/yii/framework/base/CApplication.php(158): CWebApplication->processRequest() 153 */ 154 public function run() 155 { 156 if($this->hasEventHandler('onBeginRequest')) 157 $this->onBeginRequest(new CEvent($this)); 158 $this->processRequest(); 159 if($this->hasEventHandler('onEndRequest')) 160 $this->onEndRequest(new CEvent($this)); 161 } 162 163 /** |
#16 |
+
–
/home/elearn-new/public_html/index.php(14): CApplication->run() 09 defined('YII_DEBUG') or define('YII_DEBUG',true); 10 // specify how many levels of call stack should be shown in each log message 11 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 12 ini_set('display_errors',0); 13 require_once($yii); 14 Yii::createWebApplication($config)->run(); |