| 1 | 
joko | 
1.1 | 
<? | 
| 2 | 
  | 
  | 
// --------------------------------------------------------------------------- | 
| 3 | 
joko | 
1.2 | 
//  $Id: AdminBackend.php,v 1.1 2003/02/22 16:19:08 joko Exp $ | 
| 4 | 
joko | 
1.1 | 
// --------------------------------------------------------------------------- | 
| 5 | 
joko | 
1.2 | 
//  $Log: AdminBackend.php,v $ | 
| 6 | 
  | 
  | 
//  Revision 1.1  2003/02/22 16:19:08  joko | 
| 7 | 
  | 
  | 
//  YAA - Yet Another Admin | 
| 8 | 
  | 
  | 
//  + initial commit | 
| 9 | 
  | 
  | 
// | 
| 10 | 
joko | 
1.1 | 
// --------------------------------------------------------------------------- | 
| 11 | 
  | 
  | 
 | 
| 12 | 
  | 
  | 
 | 
| 13 | 
  | 
  | 
class YAA_AdminBackend extends Application_AbstractBackend { | 
| 14 | 
  | 
  | 
 | 
| 15 | 
  | 
  | 
  // propagate passed arguments to constructor of base class | 
| 16 | 
  | 
  | 
  function constructor($rpcinfo) { | 
| 17 | 
  | 
  | 
    print "YAA_AdminBackend->constructor - dying here!<br/>"; | 
| 18 | 
  | 
  | 
    exit; | 
| 19 | 
  | 
  | 
    //$base_constructor = get_parent_class($this); | 
| 20 | 
  | 
  | 
    //parent::$base_constructor($rpcinfo); | 
| 21 | 
  | 
  | 
  } | 
| 22 | 
  | 
  | 
 | 
| 23 | 
  | 
  | 
  function getTaskList($arg1) { | 
| 24 | 
  | 
  | 
    return $this->_remote_method('getTaskList', $arg1); | 
| 25 | 
  | 
  | 
  } | 
| 26 | 
  | 
  | 
 | 
| 27 | 
  | 
  | 
  function getTaskInfo($arg1) { | 
| 28 | 
  | 
  | 
    return $this->_remote_method('getTaskInfo', $arg1); | 
| 29 | 
  | 
  | 
  } | 
| 30 | 
  | 
  | 
 | 
| 31 | 
  | 
  | 
  function runTask($arg1) { | 
| 32 | 
  | 
  | 
    return $this->_remote_method('runTask', $arg1); | 
| 33 | 
joko | 
1.2 | 
  } | 
| 34 | 
  | 
  | 
 | 
| 35 | 
  | 
  | 
  // new as of 2003-04-17: metadata about tasks now also resides at backend side | 
| 36 | 
  | 
  | 
  function getTaskGroups() { | 
| 37 | 
  | 
  | 
    return $this->_remote_method('getTaskGroups'); | 
| 38 | 
joko | 
1.1 | 
  } | 
| 39 | 
  | 
  | 
   | 
| 40 | 
  | 
  | 
} | 
| 41 | 
  | 
  | 
 | 
| 42 | 
  | 
  | 
?> |