|
#0 |
+
–
/var/www/git/rockin_pos/src/framework/db/CDbCommand.php(508): PDOStatement-> execute()
503 if($this->_connection->enableProfiling)
504 Yii::beginProfile('system.db.CDbCommand.query('.$this->getText().$par.')','system.db.CDbCommand.query');
505
506 $this->prepare();
507 if($params===array())
508 $this->_statement->execute();
509 else
510 $this->_statement->execute($params);
511
512 if($method==='')
513 $result=new CDbDataReader($this);
|
|
#1 |
+
–
/var/www/git/rockin_pos/src/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.
|
|
#2 |
+
–
/var/www/git/rockin_pos/src/framework/db/ar/CActiveRecord.php(1351): CDbCommand-> queryAll()
1346 if(empty($criteria->with))
1347 {
1348 if(!$all)
1349 $criteria->limit=1;
1350 $command=$this->getCommandBuilder()->createFindCommand($this->getTableSchema(),$criteria,$this->getTableAlias());
1351 return $all ? $this->populateRecords($command->queryAll(), true, $criteria->index) : $this->populateRecord($command->queryRow());
1352 }
1353 else
1354 {
1355 $finder=$this->getActiveFinder($criteria->with);
1356 return $finder->query($criteria,$all);
|
|
#3 |
+
–
/var/www/git/rockin_pos/src/framework/db/ar/CActiveRecord.php(1470): CActiveRecord-> query(CDbCriteria, true)
1465 */
1466 public function findAll($condition='',$params=array())
1467 {
1468 Yii::trace(get_class($this).'.findAll()','system.db.ar.CActiveRecord');
1469 $criteria=$this->getCommandBuilder()->createCriteria($condition,$params);
1470 return $this->query($criteria,true);
1471 }
1472
1473 /**
1474 * Finds a single active record with the specified primary key.
1475 * See {@link find()} for detailed explanation about $condition and $params.
|
|
#4 |
+
–
/var/www/git/rockin_pos/src/protected/widget/pageBlock/pageBlock.php(61): CActiveRecord-> findAll(CDbCriteria)
56 $criteria->mergeWith($start);
57 $criteria->mergeWith($end);
58 $criteria->compare('open_status', 1 );
59 $criteria->order = 'rank';
60
61 $this->contents = PageBlocksModel::model()->findAll($criteria);
62 }
63
64 public function run()
65 {
66 $data = array();
|
|
#5 |
+
–
/var/www/git/rockin_pos/src/framework/web/CBaseController.php(147): pageBlock-> init()
142 * @return CWidget the fully initialized widget instance.
143 */
144 public function createWidget($className,$properties=array())
145 {
146 $widget=Yii::app()->getWidgetFactory()->createWidget($this,$className,$properties);
147 $widget->init();
148 return $widget;
149 }
150
151 /**
152 * Creates a widget and executes it.
|
|
#6 |
+
–
/var/www/git/rockin_pos/src/framework/web/CBaseController.php(189): CBaseController-> createWidget("application.widget.pageBlock.pageBlock", array("name" => "sideUnderBanner", "types" => array("image"), "isGlobal" => true, "enableAdd" => false, ...))
184 * @return CWidget the widget created to run
185 * @see endWidget
186 */
187 public function beginWidget($className,$properties=array())
188 {
189 $widget=$this->createWidget($className,$properties);
190 $this->_widgetStack[]=$widget;
191 return $widget;
192 }
193
194 /**
|
|
#7 |
+
–
/var/www/git/rockin_pos/src/ec_theme/default/include/side.html(103): CBaseController-> beginWidget("application.widget.pageBlock.pageBlock", array("name" => "sideUnderBanner", "types" => array("image"), "isGlobal" => true, "enableAdd" => false, ...))
098 'isGlobal' => TRUE,//全ページ共通で利用するか?
099 'enableAdd' => FALSE,//ブロック追加可能か?
100 'enableEdit' => TRUE,//中身の編集可能か
101 'enableRank' => FALSE,//
102 )
103 ); ?>
104 <?php $i = 0; foreach( $pageBlock->contents as $contents ): ?>
105 <p class="banner">
106 <a href="<?php echo $contents->link_url; ?>">
107 <img
108 src="//www.rockin.co.jp<?php echo $contents->image_path; ?>"
|
|
#8 |
+
–
/var/www/git/rockin_pos/src/ec_theme/default/item_pages/index.html(743): include("/var/www/git/rockin_pos/src/ec_theme/default/include/side.html")
738 </div>
739 </div>
740 <!-- /main -->
741
742 <!-- サイドナビ -->
743 <?php include __DIR__ . '/../include/side.html'; ?>
744 <!-- サイドナビ -->
745
746 <!-- フッタバナー -->
747 <?php include __DIR__ . '/../include/footBanner.html'; ?>
748 <!-- /フッタバナー -->
|
|
#9 |
+
–
/var/www/git/rockin_pos/src/framework/web/CBaseController.php(130): require("/var/www/git/rockin_pos/src/ec_theme/default/item_pages/index.ht...")
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.
|
|
#10 |
+
–
/var/www/git/rockin_pos/src/framework/web/CBaseController.php(95): CBaseController-> renderInternal("/var/www/html/shop/ec_theme/default/item_pages/index.html", array("template_path" => "//www.rockin.co.jp/shop/ec_theme/default/", "product" => ProductsModel, "cateogries" => array(array(CategoryModel, CategoryModel, CategoryModel)), "categoryList" => array(CategoryModel, CategoryModel, CategoryModel, CategoryModel, ...), ...), 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);
|
|
#11 |
+
–
/var/www/git/rockin_pos/src/protected/controllers/EcpagesController.php(671): CBaseController-> renderFile("/var/www/html/shop/ec_theme/default/item_pages/index.html", array("template_path" => "//www.rockin.co.jp/shop/ec_theme/default/", "product" => ProductsModel, "cateogries" => array(array(CategoryModel, CategoryModel, CategoryModel)), "categoryList" => array(CategoryModel, CategoryModel, CategoryModel, CategoryModel, ...), ...))
666 $this->currentTemplate = $this->themeDirInside.'item_pages/index2.html';
667 }
668 else{
669 $this->currentTemplate = $this->themeDirInside.'item_pages/index.html';
670 }
671 $this->renderFile( $this->currentTemplate, $data );
672 }
673
674 // ----------------------------------------------------
675
676 /**
|
|
#12 |
+
–
/var/www/git/rockin_pos/src/protected/controllers/EcpagesController.php(134): EcpagesController-> item_pages()
129 return;
130 }
131 //商品ページ
132 elseif( $this->segment[0] == 'archives' )
133 {
134 $this->item_pages();
135 return;
136 }
137 //通常のHTMLページ
138 elseif(preg_match( '/\.html$/', $this->segment[count($this->segment)-1]))
139 {
|
|
#13 |
+
–
/var/www/git/rockin_pos/src/framework/web/actions/CInlineAction.php(49): EcpagesController-> actionIndex()
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 |
+
–
/var/www/git/rockin_pos/src/framework/web/CController.php(308): CInlineAction-> runWithParams(array("__REQ__" => "archives/100753.html"))
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 |
+
–
/var/www/git/rockin_pos/src/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();
|
|
#16 |
+
–
/var/www/git/rockin_pos/src/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);
|
|
#17 |
+
–
/var/www/git/rockin_pos/src/framework/web/CWebApplication.php(282): CController-> run("")
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)));
|
|
#18 |
+
–
/var/www/git/rockin_pos/src/framework/web/CWebApplication.php(141): CWebApplication-> runController("ecpages")
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.
|
|
#19 |
+
–
/var/www/git/rockin_pos/src/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 /**
|
|
#20 |
+
–
/var/www/git/rockin_pos/src/index.php(22): CApplication-> run()
17 {
18 $_SERVER['REQUEST_URI'] = $_GET['__REQ__'];
19 //unset( $_GET['__REQ__'] );
20 }
21 require_once($yii);
22 Yii::createWebApplication($config)->run();
|