Ejemplo n.º 1
0
 /**
  * Returns the DeviceManager object
  *
  * @param boolean   $initialize     (opt) default true: initializes the DeviceManager if not already done
  *
  * @access public
  * @return object DeviceManager
  */
 public static function GetDeviceManager($initialize = true)
 {
     if (!isset(ZPush::$deviceManager) && $initialize) {
         ZPush::$deviceManager = new DeviceManager();
     }
     return ZPush::$deviceManager;
 }