Definition at line 36 of file class.ilBMFTransport.php.
◆ getTransport()
Definition at line 38 of file class.ilBMFTransport.php.
References $res, $t, and ilBMFBase_Object\_raiseSoapFault().
Referenced by ilBMFClient\call().
40 $urlparts = @parse_url($url);
42 if (!$urlparts[
'scheme']) {
47 if (strcasecmp($urlparts[
'scheme'],
'mailto') == 0) {
48 $transport_type =
'SMTP';
49 } elseif (strcasecmp($urlparts[
'scheme'],
'https') == 0) {
50 $transport_type =
'HTTP';
53 $transport_type = strtoupper($urlparts[
'scheme']);
55 $transport_include = dirname(__FILE__).
'/Transport/class.ilBMFTransport_' . $transport_type .
'.php';
56 $res = @include_once($transport_include);
57 if (!
$res && !in_array($transport_include, get_included_files())) {
61 $transport_class =
"ilBMFTransport_$transport_type";
62 if (!class_exists($transport_class)) {
66 $t =&
new $transport_class($url, $encoding);
& _raiseSoapFault($str, $detail='', $actorURI='', $code=null, $mode=null, $options=null, $skipmsg=false)
Raises a SOAP error.
The documentation for this class was generated from the following file: