Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2485246
Syncml.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
Syncml.php
View Options
<?php
/**
* Syncroton
*
* @package Wbxml
* @subpackage Syncml
* @license http://www.tine20.org/licenses/lgpl.html LGPL Version 3
* @copyright Copyright (c) 2008-2009 Metaways Infosystems GmbH (http://www.metaways.de)
* @author Lars Kneschke <l.kneschke@metaways.de>
* @version $Id:Factory.php 4968 2008-10-17 09:09:33Z l.kneschke@metaways.de $
*/
/**
* class documentation
*
* @package Wbxml
* @subpackage Syncml
*/
class
Syncroton_Wbxml_Dtd_Syncml
{
/**
* factory function to return a selected contacts backend class
*
* @param string $type
* @return Addressbook_Backend_Interface
*/
static
public
function
factory
(
$_type
)
{
switch
(
$_type
)
{
case
'syncml:syncml1.1'
:
case
'syncml:syncml1.2'
:
case
'syncml:metinf1.1'
:
case
'syncml:metinf1.2'
:
case
'syncml:devinf1.1'
:
case
'syncml:devinf1.2'
:
throw
new
Syncroton_Wbxml_Exception
(
'unsupported DTD: '
.
$_type
);
break
;
}
return
$instance
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Nov 21, 11:45 AM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
387453
Default Alt Text
Syncml.php (1 KB)
Attached To
Mode
R4 syncroton
Attached
Detach File
Event Timeline
Log In to Comment