Go to the source code of this file.
|
class | nusoap_base |
| nusoap_base More...
|
|
class | soap_fault |
| soap_fault class, allows for creation of faults mainly used for returning faults from deployed functions in a server instance. More...
|
|
class | XMLSchema |
| parses an XML Schema, allows access to it's data, other utility methods no validation... More...
|
|
class | soapval |
| for creating serializable abstractions of native PHP types NOTE: this is only really used when WSDL is not available. More...
|
|
class | soap_transport_http |
| transport class for sending/receiving data via HTTP and HTTPS NOTE: PHP must be compiled with the CURL extension for HTTPS support More...
|
|
class | soap_server |
| soap_server allows the user to create a SOAP server that is capable of receiving messages and returning responses More...
|
|
class | wsdl |
| parses a WSDL file, allows access to it's data, other utility methods More...
|
|
class | soap_parser |
| soap_parser class parses SOAP XML messages into native PHP values More...
|
|
class | soap_client |
| soapclient higher level class for easy usage. More...
|
|
◆ iso8601_to_timestamp()
iso8601_to_timestamp |
( |
|
$datestr | ) |
|
convert ISO 8601 compliant date string to unix timestamp
- Parameters
-
string | $datestr | ISO 8601 compliant date string public |
Definition at line 614 of file nusoap.php.
References $h, and $m.
622 '([0-9]{2})(\.[0-9]+)?'.
623 '(Z|[+\-][0-9]{2}:?[0-9]{2})?';
624 if(ereg($eregStr,$datestr,$regs)){
627 $op = substr($regs[8],0,1);
628 $h = substr($regs[8],1,2);
629 $m = substr($regs[8],strlen($regs[8])-2,2);
631 $regs[4] = $regs[4] +
$h;
632 $regs[5] = $regs[5] +
$m;
633 } elseif($op ==
'+'){
634 $regs[4] = $regs[4] -
$h;
635 $regs[5] = $regs[5] -
$m;
638 return strtotime(
"$regs[1]-$regs[2]-$regs[3] $regs[4]:$regs[5]:$regs[6]Z");
◆ timestamp_to_iso8601()
timestamp_to_iso8601 |
( |
|
$timestamp, |
|
|
|
$utc = true |
|
) |
| |
convert unix timestamp to ISO 8601 compliant date string
- Parameters
-
string | $timestamp | Unix time stamp public |
Definition at line 586 of file nusoap.php.
References $timestamp.
596 '([0-9]{2})(\.[0-9]*)?'.
597 '(Z|[+\-][0-9]{2}:?[0-9]{2})?';
599 if(ereg($eregStr,$datestr,$regs)){
600 return sprintf(
'%04d-%02d-%02dT%02d:%02d:%02dZ',$regs[1],$regs[2],$regs[3],$regs[4],$regs[5],$regs[6]);
foreach($mandatory_scripts as $file) $timestamp
◆ usleepWindows()
Definition at line 644 of file nusoap.php.
References $start.
650 $stop = gettimeofday();
651 $timePassed = 1000000 * ($stop[
'sec'] -
$start[
'sec'])
652 + $stop[
'usec'] -
$start[
'usec'];
654 while ($timePassed < $usec);