[Svn-src-all:834] [version-2_5-dev 19721] * #854(PHP4対応)
nanasess
admin @ mail.ec-cube.net
2010年 12月 14日 (火) 04:56:31 JST
Subversion committed to /home/svn/open 19721
http://svn.ec-cube.net/open_trac/changeset/19721
┌────────────────────────────┐
│更新者 : nanasess │
│更新日時: 2010-12-14 04:56:30 +0900 (火, 14 12月 2010)│
└────────────────────────────┘
Log:
--------------------------------------------------------
* #854(PHP4対応)
Changed: [U:修正,A:追加,D:削除]
--------------------------------------------------------
U branches/version-2_5-dev/data/class/helper/SC_Helper_Plugin.php
変更: branches/version-2_5-dev/data/class/helper/SC_Helper_Plugin.php
===================================================================
--- branches/version-2_5-dev/data/class/helper/SC_Helper_Plugin.php 2010-12-13 10:26:37 UTC (rev 19720)
+++ branches/version-2_5-dev/data/class/helper/SC_Helper_Plugin.php 2010-12-13 19:56:30 UTC (rev 19721)
@@ -1,12 +1,39 @@
<?php
+/*
+ * This file is part of EC-CUBE
+ *
+ * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+/**
+ * プラグインのヘルパークラス.
+ *
+ * @package Helper
+ * @version $Id$
+ */
class SC_Helper_Plugin{
/**
* enableかどうかを判別する
* インスタンス化
*/
- function load(LC_Page &$lcpage){
+ function load(&$lcpage){
//データベースからクラス名を読み込む
$objQuery = new SC_Query();
$col = "*";
@@ -33,7 +60,7 @@
return $arrPluginList;
}
- function preProcess(LC_Page &$lcpage){
+ function preProcess(&$lcpage){
//プラグインの名前を判別してページ内で有効なプラグインがあれば実行する
$arrPluginList = SC_Helper_Plugin::load($lcpage);
if(count($arrPluginList) > 0){
@@ -48,7 +75,7 @@
/* 読み込んだプラグインの実行用メソッド
*
*/
- function process(LC_Page &$lcpage){
+ function process(&$lcpage){
//プラグインの名前を判別してページ内で有効なプラグインがあれば実行する
$arrPluginList = SC_Helper_Plugin::load($lcpage);
if(count($arrPluginList) > 0){
Svn-src-all メーリングリストの案内