• プラグイン一覧
    - WCEX Item Combo Set
    - WCEX Amazon Pay
    - WCEX Wishlist お気に入りリスト
  • リリース情報
  • お役立ちコラム
  • お問い合わせ
  • サポート
    • よくある質問
      • WCEX Amazon Pay
      • WCEX Wishlist お気に入りリスト
      • wcex-item-combo-set
    • リファレンス
      • WCEX Amazon Pay
      • WCEX Wishlist お気に入りリスト
      • wcex-item-combo-set
新規会員登録
ログイン
新規会員登録
ログイン
カート
  • プラグイン一覧
    • - WCEX Item Combo Set
    • - WCEX Amazon Pay
    • - WCEX Wishlist お気に入りリスト
  • リリース情報
  • お役立ちコラム
  • サポート
    • - よくある質問
      • - WCEX Amazon Pay
      • - WCEX Wishlist お気に入りリスト
      • - wcex-item-combo-set
    • - リファレンス
      • - WCEX Amazon Pay
      • - WCEX Wishlist お気に入りリスト
      • - wcex-item-combo-set
  • お問い合わせ
Aivec APPs > WCEX Wishlist お気に入りリスト > 関数 > Master::init
レファレンス
バージョン
3.1.6
絞り込み:
目的から探す
お気に入りデータを取得 お気に入りページのHTMLを取得 スナックバーアラート

目次

  • 戻り値
  • ソース
  • 関連アイテム
    • 使用するアイテム

フック

  • アクション
  • フィルター

ファンクション

  • データ取得
  • ユーティリティー
  • 条件判断
  • 表示系

関数

Master::init()

Instantiates classes. Registers hooks. etc

戻り値 #戻り値

(void)

ソース #ソース

Top ↑

ファイル: src/Master.php

    public function init() {
        add_action('usces_after_cart_instant', function () {
            $this->restRoutes = new Routes\Rest($this);
            $this->restRoutes->dispatcher->listen();
        }, 11);

        Config\Permalink::init();
        Views\Snackbar\Snackbar::init();
        (new Routes\Redirect($this))->init();
        $this->estore = new Error\Store();
        $this->estore->populate();

        Views\LoginPage::init();
        Views\Header::init();
        if (Config\Options::useReact()) {
            (new React\CartPage\CartPage($this))->init();
            (new React\ItemPage\ItemPage($this))->init();
            (new React\WishlistPage\WishlistPage($this))->init();
        } else {
            (new Views\CartPage\CartPage($this))->init();
            (new Views\ItemPage\ItemPage($this))->init();
            (new Views\WishlistPage\WishlistPage($this))->init();
        }

        $cptmc = new CptmClient(
            'AWW001',
            WCEXWL_VERSION,
            WCEXWL_PLUGIN_FILE,
            'https://api.aivec.co.jp/cptmp/v1/getProvidersList/AWW001'
        );
        $cptmc->init();
        (new SettingsPage($cptmc, 'WCEX Wishlist'))->createProviderSelectSettingsPage();

        // global functions
        require_once(__DIR__ . '/api-functions.php');
        require_once(__DIR__ . '/template-functions.php');

        // the following is for deprecated functionality
        require_once(__DIR__ . '/Deprecated/filters.php');
        require_once(__DIR__ . '/Deprecated/functions.php');
    }

ソースを伸ばす ソースを縮める


関連アイテム #関連アイテム

Top ↑

使用するアイテム #使用するアイテム

使用するアイテム
説明
src/Routes/Rest.php: Rest::__construct() Instantiates Router
src/Routes/Redirect.php: Redirect::__construct() Injects Master object
src/Views/Snackbar/Snackbar.php: Snackbar::init() Registers hooks
src/Views/CartPage/CartPage.php: CartPage::__construct() Injects Master object
src/Views/WishlistPage/WishlistPage.php: WishlistPage::__construct() Injects Master object
src/Config/Permalink.php: Permalink::init() Registers hook
src/Views/LoginPage.php: LoginPage::init() Registers hooks
src/Views/Header.php: Header::init() Registers hooks
src/Config/Options.php: Options::useReact()

WCEX WishlistのReact実装を使用する場合はtrueを返し、そうでない場合はfalseを返す

src/Views/ItemPage/ItemPage.php: ItemPage::__construct() Injects Master object
もっとみる (5件) 非表示

  • 新規会員登録
  • ログイン
    • プラグイン一覧
    • 会社概要
    • リリース情報
    • よくある質問
    • お役立ちコラム
    • お問い合わせ
    • 個人情報保護方針
    • 特定商取引法に基づく表記
    • 情報セキュリティ基本方針
    • 利用規約

アイベック合同会社は「Welcart」「Amazon Pay」の公式パートナーです。

※Amazon、Amazon.co.jp、Amazon Payおよびそれらのロゴは、Amazon.com,inc.またはその関連会社の商標です。

© 2025 Aivec llc All Rights Reserved.