app.php 1.1 KB

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