PHP Classes

File: includes/lib/lobby/ajax/notify.php

Recommend this page to a friend!
  Classes of Subin Siby   Lobby   includes/lib/lobby/ajax/notify.php   Download  
File: includes/lib/lobby/ajax/notify.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Lobby
Web OS to install and run Web applications
Author: By
Last change: version 0.9.1 berly
Date: 8 years ago
Size: 396 bytes
 

Contents

Class file image Download
<?php
$notifications
= Lobby\DB::getJSONOption("notify_items");

/**
 * If there is a update available either app or core, add a Notify item
 */
if(\Lobby\Update::isAvailable()){
 
$notifications["update"] = array(
   
"contents" => "New Updates Are Available",
   
"icon" => "update",
   
"iconURL" => null,
   
"href" => \Lobby::u("/admin/update.php")
  );
}

echo
json_encode($notifications);