ILIAS
Release_4_0_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
Value.php
Go to the documentation of this file.
1
<?php
2
3
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */
4
5
// LICENSE AGREEMENT. If folded, press za here to unfold and read license {{{
6
40
// }}}
41
42
// dependencies {{{
43
require_once
'XML/RPC2/Exception.php'
;
44
require_once
'XML/RPC2/Backend.php'
;
45
// }}}
46
57
abstract
class
XML_RPC2_Value
58
{
59
// {{{ createFromNative()
60
68
public
static
function
createFromNative
($value, $explicitType = null)
69
{
70
$xmlrpcTypes = array(
'int'
,
'boolean'
,
'string'
,
'double'
,
'datetime'
,
'base64'
,
'struct'
,
'array'
);
71
if
(in_array($explicitType, $xmlrpcTypes)) {
72
return
@call_user_func(array(
XML_RPC2_Backend::getValueClassname
(),
'createFromNative'
), $value, $explicitType);
73
}
74
return
$value;
75
}
76
77
// }}}
78
79
}
80
81
?>
Services
PEAR
lib
XML
RPC2
Value.php
Generated on Wed Apr 27 2016 19:01:48 for ILIAS by
1.8.1.2 (using
Doxyfile
)