Ejemplo n.º 1
0
 /**
  * Returns class instance
  *
  * @return OCSGUESTS_MCLASS_EventHandler
  */
 public static function getInstance()
 {
     if (null === self::$classInstance) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
Ejemplo n.º 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.
 */
/**
 * /init.php
 *
 * @author Oxwall CandyStore <*****@*****.**>
 * @package ow.ow_plugins.ocs_guests.mobile
 * @since 1.6.0
 */
OCSGUESTS_MCLASS_EventHandler::getInstance()->init();