Skip to content

Commit

Permalink
Merge pull request #1110 from nanasess/extends-compartibility
Browse files Browse the repository at this point in the history
プラグインや決済モジュールで require している `*_Ex` クラスを追加
  • Loading branch information
nanasess authored Jan 10, 2025
2 parents 5bde38e + b29fe59 commit 81ac818
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data/class_extends/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ EC-CUBE2.17.2 までは、 [data/class](../class/) 以下すべてのクラス
- [data/class_extends/page_extends/mypage/LC_Page_AbstractMypage_Ex.php](page_extends/mypage/LC_Page_AbstractMypage_Ex.php)
- [data/class_extends/page_extends/LC_Page_Ex.php](page_extends/LC_Page_Ex.php)
- [data/class_extends/page_extends/admin/LC_Page_Admin_Ex.php](page_extends/admin/LC_Page_Admin_Ex.php)
- [data/class_extends/page_extends/shopping/LC_Page_Shopping_Payment_Ex.php](page_extends/shopping/LC_Page_Shopping_Payment_Ex.php)
- [data/class_extends/page_extends/shopping/LC_Page_Shopping_LoadPaymentModule_Ex.php](page_extends/shopping/LC_Page_Shopping_LoadPaymentModule_Ex.php)
- [data/class_extends/SC_Display_Ex.php](SC_Display_Ex.php)
32 changes: 32 additions & 0 deletions data/class_extends/SC_Display_Ex.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php
/*
* This file is part of EC-CUBE
*
* Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
*
* http://www.ec-cube.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.
*/

require_once CLASS_REALDIR.'SC_Display.php';

/*
* 決済モジュールやプラグイン、 user_data 以下の PHP で require されているため削除しないでください
*/

class SC_Display_Ex extends SC_Display
{
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php
/*
* This file is part of EC-CUBE
*
* Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
*
* http://www.ec-cube.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.
*/

require_once CLASS_REALDIR.'pages/shopping/LC_Page_Shopping_LoadPaymentModule.php';

/*
* 決済モジュールやプラグイン、 user_data 以下の PHP で require されているため削除しないでください
*/

class LC_Page_Shopping_LoadPaymentModule_Ex extends LC_Page_Shopping_LoadPaymentModule
{
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php
/*
* This file is part of EC-CUBE
*
* Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
*
* http://www.ec-cube.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.
*/

require_once CLASS_REALDIR.'pages/shopping/LC_Page_Shopping_Payment.php';

/*
* 決済モジュールやプラグイン、 user_data 以下の PHP で require されているため削除しないでください
*/

class LC_Page_Shopping_Payment_Ex extends LC_Page_Shopping_Payment
{
}

0 comments on commit 81ac818

Please sign in to comment.