當前位置: 首頁>>代碼示例>>PHP>>正文


PHP LC_Page_Admin_Ex::init方法代碼示例

本文整理匯總了PHP中LC_Page_Admin_Ex::init方法的典型用法代碼示例。如果您正苦於以下問題:PHP LC_Page_Admin_Ex::init方法的具體用法?PHP LC_Page_Admin_Ex::init怎麽用?PHP LC_Page_Admin_Ex::init使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在LC_Page_Admin_Ex的用法示例。


在下文中一共展示了LC_Page_Admin_Ex::init方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: init

 /**
  * Page を初期化する.
  *
  * @return void
  */
 function init()
 {
     parent::init();
     $this->tpl_mainpage = 'products/index.tpl';
     $this->tpl_mainno = 'products';
     $this->tpl_subno = 'index';
     $this->tpl_pager = 'pager.tpl';
     $this->tpl_maintitle = '商品管理';
     $this->tpl_subtitle = '商品マスター';
     $masterData = new SC_DB_MasterData_Ex();
     $this->arrPageMax = $masterData->getMasterData('mtb_page_max');
     $this->arrDISP = $masterData->getMasterData('mtb_disp');
     $this->arrSTATUS = $masterData->getMasterData('mtb_status');
     $this->arrPRODUCTSTATUS_COLOR = $masterData->getMasterData('mtb_product_status_color');
     $objDate = new SC_Date();
     // 登録・更新検索開始年
     $objDate->setStartYear(RELEASE_YEAR);
     $objDate->setEndYear(DATE('Y'));
     $this->arrStartYear = $objDate->getYear();
     $this->arrStartMonth = $objDate->getMonth();
     $this->arrStartDay = $objDate->getDay();
     // 登録・更新検索終了年
     $objDate->setStartYear(RELEASE_YEAR);
     $objDate->setEndYear(DATE('Y'));
     $this->arrEndYear = $objDate->getYear();
     $this->arrEndMonth = $objDate->getMonth();
     $this->arrEndDay = $objDate->getDay();
 }
開發者ID:nanasess,項目名稱:eccube-WindowsAzureBlob-plugin,代碼行數:33,代碼來源:LC_Page_Admin_Products.php

示例2: init

 /**
  * Page を初期化する.
  *
  * @return void
  */
 public function init()
 {
     parent::init();
     $this->tpl_mainpage = 'customer/search_customer.tpl';
     $this->tpl_subtitle = '會員検索';
     $this->httpCacheControl('nocache');
 }
開發者ID:rateon,項目名稱:twhk-ec,代碼行數:12,代碼來源:LC_Page_Admin_Customer_SearchCustomer.php

示例3: init

 /**
  * Page を初期化する.
  *
  * @return void
  */
 function init()
 {
     parent::init();
     $this->tpl_mainpage = 'order/index.tpl';
     $this->tpl_mainno = 'order';
     $this->tpl_subno = 'index';
     $this->tpl_pager = 'pager.tpl';
     $this->tpl_maintitle = t('c_Orders_01');
     $this->tpl_subtitle = t('c_Order master_01');
     $masterData = new SC_DB_MasterData_Ex();
     $this->arrORDERSTATUS = $masterData->getMasterData('mtb_order_status');
     $this->arrORDERSTATUS_COLOR = $masterData->getMasterData('mtb_order_status_color');
     $this->arrSex = $masterData->getMasterData('mtb_sex');
     $this->arrPageMax = $masterData->getMasterData('mtb_page_max');
     $objDate = new SC_Date_Ex();
     // 登録・更新日検索用
     $objDate->setStartYear(RELEASE_YEAR);
     $objDate->setEndYear(DATE('Y'));
     $this->arrRegistYear = $objDate->getYear();
     // 生年月日検索用
     $objDate->setStartYear(BIRTH_YEAR);
     $objDate->setEndYear(DATE('Y'));
     $this->arrBirthYear = $objDate->getYear();
     // 月日の設定
     $this->arrMonth = $objDate->getMonth();
     $this->arrDay = $objDate->getDay();
     // 支払い方法の取得
     $this->arrPayments = SC_Helper_DB_Ex::sfGetIDValueList('dtb_payment', 'payment_id', 'payment_method');
     $this->httpCacheControl('nocache');
 }
開發者ID:Rise-Up-Cambodia,項目名稱:Rise-Up,代碼行數:35,代碼來源:LC_Page_Admin_Order.php

示例4: init

 /**
  * Page を初期化する.
  *
  * @return void
  */
 function init()
 {
     parent::init();
     $this->tpl_mainpage = 'products/review.tpl';
     $this->tpl_mainno = 'products';
     $this->tpl_subno = 'review';
     $this->tpl_pager = 'pager.tpl';
     $this->tpl_maintitle = '商品管理';
     $this->tpl_subtitle = 'レビュー管理';
     $masterData = new SC_DB_MasterData_Ex();
     $this->arrPageMax = $masterData->getMasterData("mtb_page_max");
     $this->arrRECOMMEND = $masterData->getMasterData("mtb_recommend");
     $this->arrSex = $masterData->getMasterData("mtb_sex");
     $objDate = new SC_Date_Ex();
     // 登録・更新検索開始年
     $objDate->setStartYear(RELEASE_YEAR);
     $objDate->setEndYear(DATE('Y'));
     $this->arrStartYear = $objDate->getYear();
     $this->arrStartMonth = $objDate->getMonth();
     $this->arrStartDay = $objDate->getDay();
     // 登録・更新検索終了年
     $objDate->setStartYear(RELEASE_YEAR);
     $objDate->setEndYear(DATE('Y'));
     $this->arrEndYear = $objDate->getYear();
     $this->arrEndMonth = $objDate->getMonth();
     $this->arrEndDay = $objDate->getDay();
 }
開發者ID:nanasess,項目名稱:ec-azure,代碼行數:32,代碼來源:LC_Page_Admin_Products_Review.php

示例5: init

 /**
  * Page を初期化する.
  *
  * @return void
  */
 function init()
 {
     parent::init();
     // GDライブラリのインストール判定
     $this->install_GD = function_exists('gd_info') ? true : false;
     $this->tpl_mainpage = 'total/index.tpl';
     $this->tpl_graphsubtitle = 'total/subtitle.tpl';
     $this->tpl_titleimage = ROOT_URLPATH . 'img/title/title_sale.jpg';
     $this->tpl_maintitle = $this->tpl_maintitle = t('c_Sales (history)_01');
     $this->tpl_mainno = 'total';
     $masterData = new SC_DB_MasterData_Ex();
     $this->arrWDAY = $masterData->getMasterData('mtb_wday');
     $this->arrSex = $masterData->getMasterData('mtb_sex');
     $this->arrJob = $masterData->getMasterData('mtb_job');
     // 登録・更新日検索用
     $objDate = new SC_Date_Ex();
     $objDate->setStartYear(RELEASE_YEAR);
     $objDate->setEndYear(DATE('Y'));
     $this->arrYear = $objDate->getYear();
     $this->arrMonth = $objDate->getMonth();
     $this->arrDay = $objDate->getDay();
     // ページタイトル todo あとでなおす
     $this->arrTitle[''] = t('c_Sales by period_01');
     $this->arrTitle['term'] = t('c_Sales by period_01');
     $this->arrTitle['products'] = t('c_Sales by product_01');
     $this->arrTitle['age'] = t('c_Sales by age group_01');
     $this->arrTitle['job'] = t('c_Sales  by occupation_01');
     $this->arrTitle['member'] = t('c_Sales by member_01');
     // 月度集計のkey名
     $this->arrSearchForm1 = array('search_startyear_m', 'search_startmonth_m');
     // 期間別集計のkey名
     $this->arrSearchForm2 = array('search_startyear', 'search_startmonth', 'search_startday', 'search_endyear', 'search_endmonth', 'search_endday');
 }
開發者ID:Rise-Up-Cambodia,項目名稱:Rise-Up,代碼行數:38,代碼來源:LC_Page_Admin_Total.php

示例6: init

 /**
  * Page を初期化する.
  *
  * @return void
  */
 function init()
 {
     parent::init();
     $this->arrErr = array();
     $this->tpl_mainpage = 'addproduct/plg_AddProduct_login.tpl';
     $this->httpCacheControl('nocache');
 }
開發者ID:rocky-ice-cream,項目名稱:003_eccube_test,代碼行數:12,代碼來源:plg_AddProduct_LC_Page_Admin_AddProduct_Login.php

示例7: init

 /**
  * Page を初期化する.
  *
  * @return void
  */
 function init()
 {
     parent::init();
     $this->tpl_mainpage = 'order/mail_view.tpl';
     $this->tpl_subtitle = t('c_Order receipt management mail confirmation_01');
     $this->httpCacheControl('nocache');
 }
開發者ID:Rise-Up-Cambodia,項目名稱:Rise-Up,代碼行數:12,代碼來源:LC_Page_Admin_Order_MailView.php

示例8: init

 /**
  * Page を初期化する.
  *
  * @return void
  */
 function init()
 {
     parent::init();
     $this->tpl_mainno = 'contents';
     $this->tpl_subno = '';
     $this->tpl_subtitle = '商品検索';
 }
開發者ID:nanasess,項目名稱:eccube-WindowsAzureBlob-plugin,代碼行數:12,代碼來源:LC_Page_Admin_Contents_RecommendSearch.php

示例9: init

 /**
  * Page を初期化する.
  *
  * @return void
  */
 function init()
 {
     parent::init();
     $this->tpl_mainno = 'contents';
     $this->tpl_subno = '';
     $this->tpl_subtitle = t('c_Product search_01');
 }
開發者ID:Rise-Up-Cambodia,項目名稱:Rise-Up,代碼行數:12,代碼來源:LC_Page_Admin_Contents_RecommendSearch.php

示例10: init

 /**
  * Page を初期化する.
  *
  * @return void
  */
 function init()
 {
     parent::init();
     $this->tpl_mainpage = 'order/mail_view.tpl';
     $this->tpl_subtitle = '受注管理メール確認';
     $this->httpCacheControl('nocache');
 }
開發者ID:nanasess,項目名稱:eccube-WindowsAzureBlob-plugin,代碼行數:12,代碼來源:LC_Page_Admin_Order_MailView.php

示例11: init

 /**
  * Page を初期化する.
  *
  * @return void
  */
 function init()
 {
     parent::init();
     $this->tpl_mainpage = 'mail/index.tpl';
     $this->tpl_mainno = 'mail';
     $this->tpl_subno = 'index';
     $this->tpl_pager = 'pager.tpl';
     $this->tpl_maintitle = t('c_Mail magazine_02');
     $this->tpl_subtitle = t('c_Delivery content settings_01');
     $masterData = new SC_DB_MasterData_Ex();
     $this->arrPref = $masterData->getMasterData('mtb_pref');
     $this->arrJob = $masterData->getMasterData('mtb_job');
     $this->arrJob[t('c_Unknown_01')] = t('c_Unknown_01');
     $this->arrSex = $masterData->getMasterData('mtb_sex');
     $this->arrPageRows = $masterData->getMasterData('mtb_page_max');
     $this->arrHtmlmail = array('' => t('c_Both_01'), 1 => t('c_HTML_01'), 2 => t('c_TEXT_02'));
     $this->arrMailType = $masterData->getMasterData('mtb_mail_type');
     // 日付プルダウン設定
     $objDate = new SC_Date_Ex(BIRTH_YEAR);
     $this->arrBirthYear = $objDate->getYear();
     $this->arrRegistYear = $objDate->getYear();
     $this->arrMonth = $objDate->getMonth();
     $this->arrDay = $objDate->getDay();
     $this->objDate = $objDate;
     // カテゴリ一覧設定
     $objDb = new SC_Helper_DB_Ex();
     $this->arrCatList = $objDb->sfGetCategoryList();
     // テンプレート一覧設定
     $this->arrTemplate = $this->lfGetMailTemplateList(SC_Helper_Mail_Ex::sfGetMailmagaTemplate());
     $this->httpCacheControl('nocache');
 }
開發者ID:Rise-Up-Cambodia,項目名稱:Rise-Up,代碼行數:36,代碼來源:LC_Page_Admin_Mail.php

示例12: init

 /**
  * (non-PHPdoc)
  *
  * @see LC_Page_Admin::init()
  */
 function init()
 {
     parent::init();
     $this->objDb = new SC_Helper_DB_Ex();
     $this->tpl_mainpage = 'basis/device_android.tpl';
     $this->tpl_subno = 'device_android';
     $this->tpl_mainno = 'basis';
     $this->tpl_pager = 'pager.tpl';
     $this->tpl_maintitle = '基本情報管理';
     $this->tpl_subtitle = 'Android 対応機種設定>対応機種一覧';
     $masterdata = new SC_DB_MasterData_Ex();
     $this->arrPageMax = $masterdata->getMasterData("mtb_page_max");
     $this->arrOsVersion = $masterdata->getMasterData("cp_mtb_android_os_version");
     $this->arrCarrier = $masterdata->getMasterData("cp_mtb_carrier");
     $this->arrStatus = $masterdata->getMasterData("mtb_disp");
     $this->arrStatusColor = $masterdata->getMasterData("mtb_product_status_color");
     $objCategory = new SC_Helper_Category_Ex(false);
     $arrCategory = $objCategory->getList(false);
     $this->arrCategory = SC_Utils_Ex::sfArrKeyValue($arrCategory, "category_id", "category_name");
     $this->arrCategory2 = $arrCategory;
     $objDate = new SC_Date_Ex(2000, date("Y") + 1);
     $this->arrDeviceReleaseYear = $objDate->getYear("", date("Y"), "");
     $this->arrMonth = $objDate->getMonth(true);
     $this->arrDay = $objDate->getDay(true);
     $this->arrDisplaySize = $masterdata->getMasterData("cp_mtb_device_displaysize");
     array_walk($this->arrDisplaySize, function (&$v) {
         $v = explode(",", $v);
     });
 }
開發者ID:alice-asahina,項目名稱:support_device,代碼行數:34,代碼來源:LC_Page_Admin_Basis_DeviceAndroid.php

示例13: init

 /**
  * Page を初期化する.
  *
  * @return void
  */
 function init()
 {
     parent::init();
     $this->tpl_mainpage = 'customer/edit.tpl';
     $this->tpl_mainno = 'customer';
     $this->tpl_subno = 'index';
     $this->tpl_pager = 'pager.tpl';
     $this->tpl_maintitle = t('c_Member_02');
     $this->tpl_subtitle = t('c_Member registration_02');
     $masterData = new SC_DB_MasterData_Ex();
     $this->arrPref = $masterData->getMasterData('mtb_pref');
     $this->arrJob = $masterData->getMasterData('mtb_job');
     $this->arrSex = $masterData->getMasterData('mtb_sex');
     $this->arrReminder = $masterData->getMasterData('mtb_reminder');
     $this->arrStatus = $masterData->getMasterData('mtb_customer_status');
     $this->arrMailMagazineType = $masterData->getMasterData('mtb_mail_magazine_type');
     // 日付プルダウン設定
     $objDate = new SC_Date_Ex(BIRTH_YEAR);
     $this->arrYear = $objDate->getYear();
     $this->arrMonth = $objDate->getMonth();
     $this->arrDay = $objDate->getDay();
     // 支払い方法種別
     $objDb = new SC_Helper_DB_Ex();
     $this->arrPayment = $objDb->sfGetIDValueList('dtb_payment', 'payment_id', 'payment_method');
 }
開發者ID:Rise-Up-Cambodia,項目名稱:Rise-Up,代碼行數:30,代碼來源:LC_Page_Admin_Customer_Edit.php

示例14: init

 /**
  * Page を初期化する.
  *
  * @return void
  */
 public function init()
 {
     parent::init();
     $this->tpl_mainpage = 'customer/index.tpl';
     $this->tpl_mainno = 'customer';
     $this->tpl_subno = 'index';
     $this->tpl_pager = 'pager.tpl';
     $this->tpl_maintitle = '會員管理';
     $this->tpl_subtitle = '會員マスター';
     $masterData = new SC_DB_MasterData_Ex();
     $this->arrPref = $masterData->getMasterData('mtb_pref');
     $this->arrJob = $masterData->getMasterData('mtb_job');
     $this->arrJob['不明'] = '不明';
     $this->arrSex = $masterData->getMasterData('mtb_sex');
     $this->arrPageMax = $masterData->getMasterData('mtb_page_max');
     $this->arrStatus = $masterData->getMasterData('mtb_customer_status');
     $this->arrMagazineType = $masterData->getMasterData('mtb_magazine_type');
     // 日付プルダウン設定
     $objDate = new SC_Date_Ex();
     // 登録・更新日検索用
     $objDate->setStartYear(RELEASE_YEAR);
     $objDate->setEndYear(DATE('Y'));
     $this->arrRegistYear = $objDate->getYear();
     // 生年月日検索用
     $objDate->setStartYear(BIRTH_YEAR);
     $objDate->setEndYear(DATE('Y'));
     $this->arrBirthYear = $objDate->getYear();
     // 月日の設定
     $this->arrMonth = $objDate->getMonth();
     $this->arrDay = $objDate->getDay();
     // カテゴリ一覧設定
     $objDb = new SC_Helper_DB_Ex();
     $this->arrCatList = $objDb->sfGetCategoryList();
     $this->httpCacheControl('nocache');
 }
開發者ID:casan,項目名稱:eccube-2_13,代碼行數:40,代碼來源:LC_Page_Admin_Customer.php

示例15: init

 /**
  * Page を初期化する.
  *
  * @return void
  */
 public function init()
 {
     parent::init();
     $this->tpl_mainpage = 'customer/edit.tpl';
     $this->tpl_mainno = 'customer';
     $this->tpl_subno = 'index';
     $this->tpl_pager = 'pager.tpl';
     $this->tpl_maintitle = '會員管理';
     $this->tpl_subtitle = '會員登録';
     $masterData = new SC_DB_MasterData_Ex();
     $this->arrPref = $masterData->getMasterData('mtb_pref');
     $this->arrCountry = $masterData->getMasterData('mtb_country');
     $this->arrJob = $masterData->getMasterData('mtb_job');
     $this->arrSex = $masterData->getMasterData('mtb_sex');
     $this->arrReminder = $masterData->getMasterData('mtb_reminder');
     $this->arrStatus = $masterData->getMasterData('mtb_customer_status');
     $this->arrMailMagazineType = $masterData->getMasterData('mtb_mail_magazine_type');
     // 日付プルダウン設定
     $objDate = new SC_Date_Ex(BIRTH_YEAR);
     $this->arrYear = $objDate->getYear();
     $this->arrMonth = $objDate->getMonth();
     $this->arrDay = $objDate->getDay();
     // 支払い方法種別
     $this->arrPayment = SC_Helper_Payment_Ex::getIDValueList();
 }
開發者ID:ryoogata,項目名稱:eccube-SQLAzureSupport-plugin,代碼行數:30,代碼來源:LC_Page_Admin_Customer_Edit.php


注:本文中的LC_Page_Admin_Ex::init方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。