PHP Classes

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

Recommend this page to a friend!
  Classes of Subin Siby   Lobby   includes/lib/lobby/ar/notify.php   Download  
File: includes/lib/lobby/ar/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:
Date: 7 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);