app.php 877 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. function __construct() {
  10. $this->appcontrol();
  11. }
  12. function appcontrol() {
  13. parent::__construct();
  14. $this->load('app');
  15. }
  16. function onls() {
  17. $this->init_input();
  18. $applist = $_ENV['app']->get_apps('appid, type, name, url, tagtemplates, viewprourl, synlogin');
  19. $applist2 = array();
  20. foreach($applist as $key => $app) {
  21. $app['tagtemplates'] = $this->unserialize($app['tagtemplates']);
  22. $applist2[$app['appid']] = $app;
  23. }
  24. return $applist2;
  25. }
  26. function onadd() {
  27. }
  28. function onucinfo() {
  29. }
  30. function _random($length, $numeric = 0) {
  31. }
  32. function _generate_key() {
  33. }
  34. function _format_notedata($notedata) {
  35. }
  36. }
  37. ?>