diff options
author | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-10-23 17:13:16 +0000 |
---|---|---|
committer | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-10-23 17:13:16 +0000 |
commit | 68c01cda10ef49b05fffb6e323fa2d34ba5dd2f4 (patch) | |
tree | 5aabcd77449786df7629f351e2f2816284f99cd5 /www/api/export_sioc.php | |
parent | 3df99a0aec0b926464449e8ca33c808c63d903df (diff) | |
download | semanticscuttle-68c01cda10ef49b05fffb6e323fa2d34ba5dd2f4.tar.gz semanticscuttle-68c01cda10ef49b05fffb6e323fa2d34ba5dd2f4.tar.bz2 |
rename ServiceFactory::getServiceInstance() to get() - much easier to write
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@396 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'www/api/export_sioc.php')
-rw-r--r-- | www/api/export_sioc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/api/export_sioc.php b/www/api/export_sioc.php index 90713e7..4b0898e 100644 --- a/www/api/export_sioc.php +++ b/www/api/export_sioc.php @@ -5,8 +5,8 @@ require_once '../../src/SemanticScuttle/header.php'; header('Content-Type: text/xml; charset=utf-8'); //we change headers html defined in headers.inc.php /* Service creation: only useful services are created */ -$userservice =SemanticScuttle_Service_Factory::getServiceInstance('User'); -$bookmarkservice =SemanticScuttle_Service_Factory::getServiceInstance('Bookmark'); +$userservice =SemanticScuttle_Service_Factory::get('User'); +$bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark'); ?> <?php echo "<?xml version=\"1.0\" encoding=\"utf-8\"\n?>"; ?> |