コード例 #1
0
ファイル: event_handler.php プロジェクト: hardikamutech/hammu
 /**
  * @return USERCREDITS_CLASS_EventHandler
  */
 public static function getInstance()
 {
     if (self::$classInstance === null) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
コード例 #2
0
ファイル: init.php プロジェクト: hardikamutech/loov
<?php

/**
 * Copyright (c) 2009, Skalfa LLC
 * All rights reserved.
 * ATTENTION: This commercial software is intended for use with Oxwall Free Community Software http://www.oxwall.org/
 * and is licensed under Oxwall Store Commercial License.
 * Full text of this license can be found at http://www.oxwall.org/store/oscl
 */
OW::getRouter()->addRoute(new OW_Route('usercredits.admin', 'admin/plugins/user-credits/', 'USERCREDITS_CTRL_Admin', 'index'));
OW::getRouter()->addRoute(new OW_Route('usercredits.admin_settings', 'admin/plugins/user-credits/settings', 'USERCREDITS_CTRL_Admin', 'settings'));
OW::getRouter()->addRoute(new OW_Route('usercredits.admin_packs', 'admin/plugins/user-credits/packs', 'USERCREDITS_CTRL_Admin', 'packs'));
OW::getRouter()->addRoute(new OW_Route('usercredits.buy_credits', 'user-credits/buy-credits', 'USERCREDITS_CTRL_BuyCredits', 'index'));
OW::getRouter()->addRoute(new OW_Route('usercredits.history', 'user-credits/history', 'USERCREDITS_CTRL_Credits', 'history'));
USERCREDITS_CLASS_EventHandler::getInstance()->init();
コード例 #3
0
ファイル: init.php プロジェクト: hardikamutech/loov
<?php

OW::getRouter()->addRoute(new OW_Route('usercredits.buy_credits', 'user-credits/buy-credits', 'USERCREDITS_CTRL_BuyCredits', 'index'));
USERCREDITS_CLASS_EventHandler::getInstance()->genericInit();