1<?php 2 3/* 4 [UCenter] (C)2001-2099 Comsenz Inc. 5 This is NOT a freeware, use is subject to license terms 6 7 $Id: app.php 1059 2011-03-01 07:25:09Z monkey $ 8*/ 9 10!defined('IN_UC') && exit('Access Denied'); 11 12class appcontrol extends base { 13 14 function __construct() { 15 $this->appcontrol(); 16 } 17 18 function appcontrol() { 19 parent::__construct(); 20 $this->load('app'); 21 } 22 23 function onls() { 24 $this->init_input(); 25 $applist = $_ENV['app']->get_apps('appid, type, name, url, tagtemplates, viewprourl, synlogin'); 26 $applist2 = array(); 27 foreach($applist as $key => $app) { 28 $app['tagtemplates'] = $this->unserialize($app['tagtemplates']); 29 $applist2[$app['appid']] = $app; 30 } 31 return $applist2; 32 } 33 34 function onadd() { 35 } 36 37 function onucinfo() { 38 } 39 40 function _random($length, $numeric = 0) { 41 } 42 43 function _generate_key() { 44 } 45 46 function _format_notedata($notedata) { 47 } 48} 49 50?>