root/trunk/lib/SGL/XML/RPC/services/determineLatestVersion.php

Revision 1306 (checked in by demian, 8 months ago)

moving install-related files to SGL/Install - 1

  • Property svn:eol-style set to native
Line 
1 <?php
2
3 $determineLatestVersion_sig = array(array("string"));
4 $determineLatestVersion_doc = "Requires no parameters, returns a string indicating the latest framework version number.";
5 $determineLatestVersion_alias = 'framework.determineLatestVersion';
6
7 function SGL_XML_RPC_Server_determineLatestVersion($msg)
8 {
9     //  get framework version
10     require_once SGL_LIB_DIR . '/SGL/Install/Common.php';
11     $ret = SGL_Install_Common::getFrameworkVersion();
12
13     $result = new XML_RPC_Value($ret, "string");
14     $return = new XML_RPC_Response($result);
15
16     return $return;
17 }
18
19 ?>
Note: See TracBrowser for help on using the browser.