[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Summary view] [Print] [Text view]
1 <?php 2 3 /* 4 * Copyright (C) 2005-2010 Alfresco Software Limited. 5 * 6 * This file is part of Alfresco 7 * 8 * Alfresco is free software: you can redistribute it and/or modify 9 * it under the terms of the GNU Lesser General Public License as published by 10 * the Free Software Foundation, either version 3 of the License, or 11 * (at your option) any later version. 12 * 13 * Alfresco is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU Lesser General Public License for more details. 17 * 18 * You should have received a copy of the GNU Lesser General Public License 19 * along with Alfresco. If not, see <http://www.gnu.org/licenses/>. 20 */ 21 22 require_once $CFG->libdir.'/alfresco/Service/WebService/AlfrescoWebService.php'; 23 24 class WebServiceFactory 25 { 26 public static function getAuthenticationService($path) 27 { 28 $path .= '/AuthenticationService?wsdl'; 29 return new AlfrescoWebService($path, array()); 30 } 31 32 public static function getRepositoryService($path, $ticket) 33 { 34 $path .= '/RepositoryService?wsdl'; 35 return new AlfrescoWebService($path, array(), $ticket); 36 } 37 38 public static function getContentService($path, $ticket) 39 { 40 $path .= '/ContentService?wsdl'; 41 return new AlfrescoWebService($path, array(), $ticket); 42 } 43 44 public static function getAdministrationService($path, $ticket) 45 { 46 $path .= '/AdministrationService?wsdl'; 47 return new AlfrescoWebService($path, array(), $ticket); 48 } 49 50 public static function getAuthoringService($path, $ticket) 51 { 52 $path .= '/AuthoringService?wsdl'; 53 return new AlfrescoWebService($path, array(), $ticket); 54 } 55 } 56 57 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |