Changeset 15280


Ignore:
Timestamp:
2007/08/10 18:36:55 (14 years ago)
Author:
nanasess
Message:

Page のクラス化対応

Location:
branches/feature-module-update
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/html/admin/index.php

    r15080 r15280  
    55 * http://www.lockon.co.jp/ 
    66 */ 
     7// {{{ requires 
    78require_once("./require.php"); 
     9require_once(CLASS_PATH . "page_extends/admin/LC_Page_Admin_Ex.php"); 
    810 
    9 class LC_Page { 
    10     function LC_Page() { 
    11         $this->tpl_mainpage = 'login.tpl'; 
    12     } 
    13 } 
     11// }}} 
     12// {{{ generate page 
    1413 
    15 $objPage = new LC_Page(); 
    16 $objView = new SC_AdminView(); 
    17 $objView->assignobj($objPage); 
    18 $objView->display(LOGIN_FRAME); 
     14$objPage = new LC_Page_Admin_Ex(); 
     15$objPage->init(); 
     16$objPage->process(); 
     17register_shutdown_function(array($objPage, "destroy")); 
    1918?> 
  • branches/feature-module-update/html/admin/require.php

    r15080 r15280  
    77$include_dir = realpath(dirname( __FILE__)); 
    88require_once($include_dir . "/../define.php"); 
     9if (!defined("CLASS_PATH")) { 
     10    /** クラスパス */ 
     11    define("CLASS_PATH", $include_dir . "/.." . HTML2DATA_DIR . "class/"); 
     12} 
    913 
    1014require_once($include_dir . "/.." . HTML2DATA_DIR . "conf/conf.php"); 
    1115require_once($include_dir . "/.." . HTML2DATA_DIR . "include/module.inc"); 
    12 require_once($include_dir . "/.." . HTML2DATA_DIR . "lib/glib.php"); 
    13 require_once($include_dir . "/.." . HTML2DATA_DIR . "lib/slib.php"); 
    14 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_View.php"); 
    15 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_DbConn.php"); 
    16 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_Session.php"); 
    17 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_Query.php"); 
    18 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_SelectSql.php"); 
    19 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_CheckError.php"); 
    20 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_PageNavi.php"); 
    21 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_Date.php"); 
    22 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_Image.php"); 
    23 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_UploadFile.php"); 
    24 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_SiteInfo.php"); 
    25 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/GC_SendMail.php"); 
    26 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_FormParam.php"); 
    27 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_CustomerList.php"); 
    28 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_Customer.php"); 
    29 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_Pdf.php"); 
    30  
     16require_once(CLASS_PATH . "util_extends/GC_Utils_Ex.php"); 
     17require_once(CLASS_PATH . "util_extends/SC_Utils_Ex.php"); 
     18require_once(CLASS_PATH . "db_extends/SC_DB_MasterData_Ex.php"); 
     19require_once(CLASS_PATH . "db_extends/SC_DB_DBFactory_Ex.php"); 
     20//require_once($include_dir . "/.." . HTML2DATA_DIR . "lib/glib.php"); 
     21//require_once($include_dir . "/.." . HTML2DATA_DIR . "lib/slib.php"); 
     22require_once(CLASS_PATH . "SC_View.php"); 
     23require_once(CLASS_PATH . "SC_DbConn.php"); 
     24require_once(CLASS_PATH . "SC_Session.php"); 
     25require_once(CLASS_PATH . "SC_Query.php"); 
     26require_once(CLASS_PATH . "SC_SelectSql.php"); 
     27require_once(CLASS_PATH . "SC_CheckError.php"); 
     28require_once(CLASS_PATH . "SC_PageNavi.php"); 
     29require_once(CLASS_PATH . "SC_Date.php"); 
     30require_once(CLASS_PATH . "SC_Image.php"); 
     31require_once(CLASS_PATH . "SC_UploadFile.php"); 
     32require_once(CLASS_PATH . "SC_SiteInfo.php"); 
     33require_once(CLASS_PATH . "GC_SendMail.php"); 
     34require_once(CLASS_PATH . "SC_FormParam.php"); 
     35require_once(CLASS_PATH . "SC_CustomerList.php"); 
     36require_once(CLASS_PATH . "SC_Customer.php"); 
     37require_once(CLASS_PATH . "SC_Pdf.php"); 
     38require_once(CLASS_PATH . "helper_extends/SC_Helper_PageLayout_Ex.php"); 
     39require_once(CLASS_PATH . "helper_extends/SC_Helper_DB_Ex.php"); 
    3140// アップデートで取得したPHPを読み出す 
    32 sfLoadUpdateModule(); 
    33  
     41SC_Utils_Ex::sfLoadUpdateModule(); 
    3442?> 
Note: See TracChangeset for help on using the changeset viewer.