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

/**
 * Copyright (c) 2014, Skalfa LLC
 * All rights reserved.
 *
 * ATTENTION: This commercial software is intended for exclusive use with SkaDate Dating Software (http://www.skadate.com) and is licensed under SkaDate Exclusive License by Skalfa LLC.
 *
 * Full text of this license can be found at http://www.skadate.com/sel.pdf
 */
$eventHandler = WINKS_CLASS_EventHandler::getInstance();
OW::getEventManager()->bind('winks.isWinkSent', array($eventHandler, 'getIsWinkSent'));
コード例 #3
0
ファイル: init.php プロジェクト: hardikamutech/loov
<?php

/**
 * Copyright (c) 2014, Skalfa LLC
 * All rights reserved.
 *
 * ATTENTION: This commercial software is intended for exclusive use with SkaDate Dating Software (http://www.skadate.com) and is licensed under SkaDate Exclusive License by Skalfa LLC.
 *
 * Full text of this license can be found at http://www.skadate.com/sel.pdf
 */
WINKS_CLASS_EventHandler::getInstance()->genericInit();
コード例 #4
0
ファイル: init.php プロジェクト: hardikamutech/loov
<?php

/**
 * Copyright (c) 2014, Skalfa LLC
 * All rights reserved.
 *
 * ATTENTION: This commercial software is intended for exclusive use with SkaDate Dating Software (http://www.skadate.com) and is licensed under SkaDate Exclusive License by Skalfa LLC.
 *
 * Full text of this license can be found at http://www.skadate.com/sel.pdf
 */
OW::getRouter()->addRoute(new OW_Route('winks.rsp', 'winks/rsp', 'WINKS_CTRL_Winks', 'ajaxRsp'));
WINKS_CLASS_EventHandler::getInstance()->init();