ILIAS
Release_3_10_x_branch Revision 61812
|
Public Member Functions | |
ilBMFWSDL_Cache ($cacheUse=WSDL_CACHE_USE, $cacheMaxAge=WSDL_CACHE_MAX_AGE) | |
ilBMFWSDL_Cache constructor | |
_cacheDir () | |
_cacheDir return the path to the cache, if it doesn't exist, make it | |
get ($wsdl_fname, $proxy_params=array(), $cache=0) | |
Retrieves a file from cache if it exists, otherwise retreive from net, add to cache, and return from cache. | |
Public Member Functions inherited from ilBMFBase | |
ilBMFBase ($faultcode= 'Client') | |
Constructor. | |
_resetNamespaces () | |
_setSchemaVersion ($schemaVersion) | |
Sets the schema version used in the SOAP message. | |
_getNamespacePrefix ($ns) | |
_getNamespaceForPrefix ($prefix) | |
_isSoapValue (&$value) | |
_serializeValue (&$value, $name= '', $type=false, $elNamespace=NULL, $typeNamespace=NULL, $options=array(), $attributes=array(), $artype='', $OBJTypeNS=array()) | |
_getType (&$value) | |
Converts a PHP type to a SOAP type. | |
_multiArrayType (&$value, &$type, &$size, &$xml) | |
_isBase64 (&$value) | |
Returns whether a string is base64 encoded data. | |
_isBase64Type ($type) | |
Returns whether a type is a base64 type. | |
_isHash (&$a) | |
Returns whether an array is a hash. | |
_un_htmlentities ($string) | |
& | _decode (&$soapval) |
_makeEnvelope (&$method, &$headers, $encoding=SOAP_DEFAULT_ENCODING, $options=array()) | |
Creates the SOAP envelope with the SOAP envelop data. | |
_makeMimeMessage (&$xml, $encoding=SOAP_DEFAULT_ENCODING) | |
_makeDIMEMessage ($xml) | |
_decodeMimeMessage (&$data, &$headers, &$attachments) | |
_decodeDIMEMessage (&$data, &$headers, &$attachments) | |
__set_type_translation ($type, $class=null) | |
Public Member Functions inherited from ilBMFBase_Object | |
ilBMFBase_Object ($faultcode= 'Client') | |
Constructor. | |
& | _raiseSoapFault ($str, $detail= '', $actorURI= '', $code=null, $mode=null, $options=null, $skipmsg=false) |
Raises a SOAP error. | |
__isfault () | |
& | __getfault () |
_debug ($string) | |
Adds a string to the debug data. |
Data Fields | |
$_cacheUse = null | |
$_cacheMaxAge = null | |
Data Fields inherited from ilBMFBase | |
$_XMLSchema | |
$_XMLSchemaVersion = 'http://www.w3.org/2001/XMLSchema' | |
$_typemap | |
$_defaultObjectClassname = 'stdClass' | |
Default class name to use for decoded response objects. | |
$_namespaces | |
$_namespace | |
$_xmlEntities | |
$_doconversion = false | |
$__attachments = array() | |
$_wsdl = null | |
$_section5 = true | |
True if we use section 5 encoding, or false if this is literal. | |
$_auto_translation = false | |
$_type_translation = array() | |
Data Fields inherited from ilBMFBase_Object | |
$_debug_flag = false | |
Store debugging information in $_debug_data? | |
$_debug_data = '' | |
String containing debugging information if $_debug_flag is true. | |
$_encodings = array('ISO-8859-1', 'US-ASCII', 'UTF-8') | |
Supported encodings, limited by XML extension. | |
$_myfaultcode = '' | |
Fault code. | |
$fault = null | |
Recent PEAR_Error object. |
Definition at line 873 of file class.ilBMFWSDL.php.
ilBMFWSDL_Cache::_cacheDir | ( | ) |
_cacheDir return the path to the cache, if it doesn't exist, make it
Definition at line 910 of file class.ilBMFWSDL.php.
References $dir.
Referenced by get().
ilBMFWSDL_Cache::get | ( | $wsdl_fname, | |
$proxy_params = array() , |
|||
$cache = 0 |
|||
) |
Retrieves a file from cache if it exists, otherwise retreive from net, add to cache, and return from cache.
string | URL to WSDL |
array | proxy parameters |
int | expected MD5 of WSDL URL public |
Definition at line 928 of file class.ilBMFWSDL.php.
References $result, _cacheDir(), and ilBMFBase_Object\_raiseSoapFault().
ilBMFWSDL_Cache::ilBMFWSDL_Cache | ( | $cacheUse = WSDL_CACHE_USE , |
|
$cacheMaxAge = WSDL_CACHE_MAX_AGE |
|||
) |
ilBMFWSDL_Cache constructor
boolean | use caching |
int | cache max lifetime (in seconds) public |
Definition at line 898 of file class.ilBMFWSDL.php.
References ilBMFBase\ilBMFBase().
ilBMFWSDL_Cache::$_cacheMaxAge = null |
Definition at line 889 of file class.ilBMFWSDL.php.
ilBMFWSDL_Cache::$_cacheUse = null |
Definition at line 882 of file class.ilBMFWSDL.php.