Example #1
0
 /**
  * Returns class instance
  *
  * @return OCSGUESTS_CLASS_EventHandler
  */
 public static function getInstance()
 {
     if (null === self::$classInstance) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
Example #2
0
<?php

/**
 * Copyright (c) 2012, Oxwall CandyStore
 * All rights reserved.
 * This software is intended for use with Oxwall Free Community Software http://www.oxwall.org/ and is
 * licensed under The BSD license.
 */
OCSGUESTS_CLASS_EventHandler::getInstance()->init();
Example #3
0
 public function init()
 {
     OCSGUESTS_CLASS_EventHandler::getInstance()->genericInit();
     $em = OW::getEventManager();
     $em->bind('mobile.content.profile_view_top', array($this, 'trackVisit'));
 }