MIOLO20
|
Membros públicos | |
PhpWsdl ( $nameSpace=null, $endPoint=null, $cacheFolder=null, $file=null, $name=null, $methods=null, $types=null, $outputOnRequest=false, $runServer=false) | |
__construct ( $nameSpace=null, $endPoint=null, $cacheFolder=null, $file=null, $name=null, $methods=null, $types=null, $outputOnRequest=false, $runServer=false) | |
IsWsdlRequested () | |
IsHtmlRequested () | |
IsPhpRequested () | |
IsSoapRequest () | |
IsOnlyGlobal () | |
DetermineConfiguration () | |
DetermineEndPoint () | |
DetermineNameSpace () | |
IsFileInList ($file) | |
CreateWsdl ($reCreate=false, $optimizer=false) | |
ParseSource ($init=false, $str=null) | |
OutputWsdl ($withHeaders=true) | |
OutputWsdlOnRequest ($andExit=true) | |
OutputHtml ($withHeaders=true, $echo=true, $cache=true) | |
SortObjectsByName ($obj) | |
OutputHtmlOnRequest ($andExit=true) | |
OutputPhp ($withHeaders=true, $echo=true, $options=Array(), $cache=true) | |
OutputPhpOnRequest ($andExit=true) | |
RunServer ($wsdlFile=null, $class=null, $andExit=true, $forceNoWsdl=false) | |
GetWsdlUri () | |
GetPhpUri () | |
GetDocUri () | |
GetMethod ($name) | |
GetType ($name) | |
GetCacheFileName ($endpoint=null) | |
CacheFileExists ($file=null) | |
IsCacheValid ($file=null) | |
GetWsdlFromCache ($file=null, $force=false, $nounserialize=false) | |
WriteWsdlToCache ($wsdl=null, $endpoint=null, $file=null, $force=false) | |
IsCacheDifferent () | |
TidyCacheFolder ($mineOnly=false, $cleanUp=false, $wsdlFile=null) | |
Membros públicos estáticos | |
static | CreateInstance ( $nameSpace=null, $endPoint=null, $cacheFolder=null, $file=null, $name=null, $methods=null, $types=null, $outputOnRequest=false, $runServer=false) |
static | RunQuickMode ($file=null) |
static | DisableCache ($allCaching=true) |
static | EnableCache ($folder=null, $timeout=null) |
static | CreateWsdlHeader ($data) |
static | CreateWsdlTypeSchema ($data) |
static | CreateWsdlMessages ($data) |
static | CreateWsdlPorts ($data) |
static | CreateWsdlBindings ($data) |
static | CreateWsdlService ($data) |
static | CreateWsdlFooter ($data) |
static | CreateWsdlOptimize ($data) |
static | OptimizeXml ($xml) |
static | FormatXml ($xml) |
static | InterpretService ($data) |
static | CreateHtmlGeneral ($data) |
static | CreateHtmlIndex ($data) |
static | CreateHtmlMethods ($data) |
static | CreateHtmlComplexTypes ($data) |
static | IsCacheFolderWriteAble ($folder=null) |
static | TranslateType ($type) |
static | CallHook ($name, $data=null) |
static | RegisterHook ($hook, $name, $data) |
static | UnregisterHook ($hook, $name=null) |
static | HasHookHandler ($hook) |
static | Debug ($str) |
Campos de Dados | |
$Name | |
$Docs =null | |
$NameSpace =null | |
$EndPoint =null | |
$WsdlUri =null | |
$PhpUri =null | |
$DocUri =null | |
$SoapServerOptions =null | |
$Files =Array() | |
$Types =null | |
$Methods =null | |
$Optimize =true | |
$WSDL =null | |
$HTML =null | |
$PHP =null | |
$ParseDocs =true | |
$IncludeDocs =true | |
$ForceOutputWsdl =false | |
$ForceNotOutputWsdl =false | |
$ForceOutputHtml =false | |
$ForceNotOutputHtml =false | |
$HtmlHeadLine =null | |
$ForceOutputPhp =false | |
$ForceNotOutputPhp =false | |
$SourcesParsed =false | |
$ConfigurationDetermined =false | |
$SoapServer =null | |
$RequireLogin =false | |
Atributos Públicos Estáticos | |
static | $VERSION ='2.3' |
static | $AutoRun =false |
static | $Config =Array() |
static | $ProxyObject =null |
static | $ProxyServer =null |
static | $UseProxyWsdl =false |
static | $BasicTypes |
static | $NonNillable |
static | $CacheFolder =null |
static | $CacheFolderWriteAble =null |
static | $CacheTime =3600 |
static | $CacheAllWsdl =false |
static | $classRx ='/^.*class\s+([^\s]+)\s*\{.*$/is' |
static | $HTML2PDFLicenseKey =null |
static | $HTML2PDFAPI ='http://online.htmltopdf.de/' |
static | $HTML2PDFSettings =Array() |
static | $DebugInfo =Array() |
static | $Debugging =false |
static | $DebugFile =null |
static | $DebugBackTrace =false |
static | $NameSpaces =null |
PhpWsdl class
Definido na linha 58 do ficheiro class.phpwsdl.php.
__construct | ( | $nameSpace = null, | |
$endPoint = null, | |||
$cacheFolder = null, | |||
$file = null, | |||
$name = null, | |||
$methods = null, | |||
$types = null, | |||
$outputOnRequest = false, | |||
$runServer = false ) |
Definido na linha 435 do ficheiro class.phpwsdl.php.
CacheFileExists | ( | $file = null | ) |
Determine if the cache file exists
string | $file | The WSDL cache filename or NULL to use the default (default: NULL) |
Definido na linha 1992 do ficheiro class.phpwsdl.php.
|
static |
Call a hook function
string | $name | The hook name |
mixed | $data | The parameter (default: NULL) |
Definido na linha 2320 do ficheiro class.phpwsdl.php.
|
static |
Create complex types list
array | $data | The information object |
Definido na linha 1488 do ficheiro class.phpwsdl.php.
|
static |
Create general information
array | $data | The information object |
Definido na linha 1407 do ficheiro class.phpwsdl.php.
|
static |
Create table of contents
array | $data | The information object |
Definido na linha 1428 do ficheiro class.phpwsdl.php.
|
static |
Create method list
array | $data | The information object |
Definido na linha 1463 do ficheiro class.phpwsdl.php.
|
static |
Create an instance of PhpWsdl Note: The quick mode by giving TRUE as first parameter is deprecated and will be removed from version 3.0. Use PhpWsdl::RunQuickMode() instead
string | boolean | $nameSpace | Namespace or NULL to let PhpWsdl determine it, or TRUE to run everything by determining all configuration -> quick mode (default: NULL) |
string | string[] | $endPoint | Endpoint URI or NULL to let PhpWsdl determine it - or, in quick mode, the webservice class filename(s) (default: NULL) |
string | $cacheFolder | The folder for caching WSDL or NULL to use the systems default (default: NULL) |
string | string[] | $file | Filename or array of filenames or NULL (default: NULL) |
string | $name | Webservice name or NULL to let PhpWsdl determine it (default: NULL) |
PhpWsdlMethod[] | $methods | Array of methods or NULL (default: NULL) |
PhpWsdlComplex[] | $types | Array of complex types or NULL (default: NULL) |
boolean | $outputOnRequest | Output WSDL on request? (default: FALSE) |
boolean | string | object | array | $runServer | Run SOAP server? (default: FALSE) |
Definido na linha 532 do ficheiro class.phpwsdl.php.
CreateWsdl | ( | $reCreate = false, | |
$optimizer = false ) |
Create the WSDL
boolean | $reCreate | Don't use the cached WSDL? (default: FALSE) |
boolean | $optimize | If TRUE, override the PhpWsdl->Optimizer property and force optimizing (default: FALSE) |
Definido na linha 803 do ficheiro class.phpwsdl.php.
|
static |
Create bindings
array | $data | Data array |
Definido na linha 1014 do ficheiro class.phpwsdl.php.
|
static |
Create footer
array | $data | Data array |
Definido na linha 1062 do ficheiro class.phpwsdl.php.
|
static |
Create header
array | $data | Data array |
Definido na linha 926 do ficheiro class.phpwsdl.php.
|
static |
Create messages
array | $data | Data array |
Definido na linha 974 do ficheiro class.phpwsdl.php.
|
static |
Optimize WSDL
array | $data | Data array |
Definido na linha 1075 do ficheiro class.phpwsdl.php.
|
static |
Create port types
array | $data | Data array |
Definido na linha 991 do ficheiro class.phpwsdl.php.
|
static |
Create service port
array | $data | Data array |
Definido na linha 1038 do ficheiro class.phpwsdl.php.
|
static |
Create type schema
array | $data | Data array |
Definido na linha 947 do ficheiro class.phpwsdl.php.
|
static |
Add a debugging message
string | $str | The message to add to the debug protocol |
Definido na linha 2399 do ficheiro class.phpwsdl.php.
DetermineConfiguration | ( | ) |
Determine the configuration
Definido na linha 680 do ficheiro class.phpwsdl.php.
DetermineEndPoint | ( | ) |
Determine the endpoint URI
Definido na linha 763 do ficheiro class.phpwsdl.php.
DetermineNameSpace | ( | ) |
Determine the namespace
Definido na linha 770 do ficheiro class.phpwsdl.php.
|
static |
Disble caching
bool | $allCaching | Do not only set the timeout to zero? (default: TRUE) |
Definido na linha 642 do ficheiro class.phpwsdl.php.
|
static |
Enable caching
string | $folder | The cache folder or NULL to use a system temporary directory (default: NULL) |
int | $timeout | The caching timeout in seconds or NULL to use the previous value or the default (3600) (default: NULL) |
Definido na linha 656 do ficheiro class.phpwsdl.php.
|
static |
Format XML human readable
string | $xml | The XML |
Definido na linha 1105 do ficheiro class.phpwsdl.php.
GetCacheFileName | ( | $endpoint = null | ) |
Get the cache filename
string | $endpoint | The endpoint URI or NULL to use the PhpWsdl->EndPoint property (default: NULL) |
Definido na linha 1973 do ficheiro class.phpwsdl.php.
GetDocUri | ( | ) |
Get the HTML documentation URI
Definido na linha 1927 do ficheiro class.phpwsdl.php.
GetMethod | ( | $name | ) |
Find a method
string | $name | The method name |
Definido na linha 1937 do ficheiro class.phpwsdl.php.
GetPhpUri | ( | ) |
Get the PHP download URI
Definido na linha 1918 do ficheiro class.phpwsdl.php.
GetType | ( | $name | ) |
Find a complex type
string | $name | The type name |
Definido na linha 1955 do ficheiro class.phpwsdl.php.
GetWsdlFromCache | ( | $file = null, | |
$force = false, | |||
$nounserialize = false ) |
Get the WSDL from the cache
string | $file | The WSDL cache filename or NULL to use the default (default: NULL) |
boolean | $force | Force this even if the cache is timed out? (default: FALSE) |
boolean | $nounserialize | Don't unserialize the PhpWsdl* objects? (default: FALSE) |
Definido na linha 2022 do ficheiro class.phpwsdl.php.
GetWsdlUri | ( | ) |
Get the WSDL download URI
Definido na linha 1909 do ficheiro class.phpwsdl.php.
|
static |
Determine if a hook has a registered handler
string | $hook | The hook name |
Definido na linha 2390 do ficheiro class.phpwsdl.php.
|
static |
Interpret the @service keyword
$data | The parser data |
Definido na linha 1124 do ficheiro class.phpwsdl.php.
IsCacheDifferent | ( | ) |
Determine if the cache is different from the current version of your webservice handler class. Status: Untested
Definido na linha 2196 do ficheiro class.phpwsdl.php.
|
static |
Determine if the cache folder is writeable
string | $folder | The folder or NULL to use the static property CacheFolder (default: NULL) |
Definido na linha 2161 do ficheiro class.phpwsdl.php.
IsCacheValid | ( | $file = null | ) |
Determine if the existing cache files are still valid
string | $file | The WSDL cache filename or NULL to use the default (default: NULL) |
Definido na linha 2005 do ficheiro class.phpwsdl.php.
IsFileInList | ( | $file | ) |
Determine if a file is included in the list of files
string | $file | The filename |
Definido na linha 786 do ficheiro class.phpwsdl.php.
IsHtmlRequested | ( | ) |
Determine if HTML was requested by the client
Definido na linha 598 do ficheiro class.phpwsdl.php.
IsOnlyGlobal | ( | ) |
Determine if only global methods are served
Definido na linha 625 do ficheiro class.phpwsdl.php.
IsPhpRequested | ( | ) |
Determine if PHP was requested by the client
Definido na linha 607 do ficheiro class.phpwsdl.php.
IsSoapRequest | ( | ) |
Determine if this request is a SOAP request
Definido na linha 616 do ficheiro class.phpwsdl.php.
IsWsdlRequested | ( | ) |
Determine if WSDL was requested by the client
Definido na linha 589 do ficheiro class.phpwsdl.php.
|
static |
Remove tabs and newline from XML
string | $xml | The unoptimized XML |
Definido na linha 1094 do ficheiro class.phpwsdl.php.
OutputHtml | ( | $withHeaders = true, | |
$echo = true, | |||
$cache = true ) |
Output the HTML to the client
boolean | $withHeaders | Send HTML headers? (default: TRUE) |
boolean | $echo | Print HTML (default: TRUE) |
boolean | $cache | Cache the result (default: TRUE); |
Definido na linha 1220 do ficheiro class.phpwsdl.php.
OutputHtmlOnRequest | ( | $andExit = true | ) |
Output the HTML to the client, if requested
boolean | $andExit | Exit after sending HTML? (default: TRUE) |
Definido na linha 1536 do ficheiro class.phpwsdl.php.
OutputPhp | ( | $withHeaders = true, | |
$echo = true, | |||
$options = Array(), | |||
$cache = true ) |
Output the PHP SOAP client source for this webservice
boolean | $withHeaders | Send text headers? (default: TRUE) |
boolean | $echo | Print source (default: TRUE) |
array | $options | Options array (default: array) |
boolean | $cache | Cache the result (default: TRUE); |
Definido na linha 1556 do ficheiro class.phpwsdl.php.
OutputPhpOnRequest | ( | $andExit = true | ) |
Output the PHP SOAP client source for this webservice, if requested
boolean | $andExit | Exit after sending the PHP source? |
Definido na linha 1681 do ficheiro class.phpwsdl.php.
OutputWsdl | ( | $withHeaders = true | ) |
Output the WSDL to the client
boolean | $withHeaders | Output XML headers? (default: TRUE) |
Definido na linha 1180 do ficheiro class.phpwsdl.php.
OutputWsdlOnRequest | ( | $andExit = true | ) |
Output the WSDL to the client, if requested
boolean | $andExit | Exit after sending WSDL? (default: TRUE) |
Definido na linha 1201 do ficheiro class.phpwsdl.php.
ParseSource | ( | $init = false, | |
$str = null ) |
Parse source files for WSDL definitions in comments
boolean | $init | Empty the Methods and the Types properties? (default: FALSE) |
string | $str | Source string or NULL to parse the defined files (default: NULL) |
Definido na linha 1144 do ficheiro class.phpwsdl.php.
PhpWsdl | ( | $nameSpace = null, | |
$endPoint = null, | |||
$cacheFolder = null, | |||
$file = null, | |||
$name = null, | |||
$methods = null, | |||
$types = null, | |||
$outputOnRequest = false, | |||
$runServer = false ) |
PhpWsdl constructor Note: The quick mode by giving TRUE as first parameter is deprecated and will be removed from version 3.0. Use PhpWsdl::RunQuickMode() instead
string | boolean | $nameSpace | Namespace or NULL to let PhpWsdl determine it, or TRUE to run everything by determining all configuration -> quick mode (default: NULL) |
string | string[] | $endPoint | Endpoint URI or NULL to let PhpWsdl determine it - or, in quick mode, the webservice class filename(s) (default: NULL) |
string | $cacheFolder | The folder for caching WSDL or NULL to use the systems default (default: NULL) |
string | string[] | $file | Filename or array of filenames or NULL (default: NULL) |
string | $name | Webservice name or NULL to let PhpWsdl determine it (default: NULL) |
PhpWsdlMethod[] | $methods | Array of methods or NULL (default: NULL) |
PhpWsdlComplex[] | $types | Array of complex types or NULL (default: NULL) |
boolean | $outputOnRequest | Output WSDL on request? (default: FALSE) |
boolean | string | object | array | $runServer | Run SOAP server? (default: FALSE) |
The current PhpWsdl server
Definido na linha 411 do ficheiro class.phpwsdl.php.
|
static |
Register a hook
string | $hook | The hook name |
string | $name | The call name |
mixed | $data | The hook call data |
Definido na linha 2344 do ficheiro class.phpwsdl.php.
|
static |
Run the PhpWsdl SOAP server in quick mode
string | string[] | $file | The webservice handler class file or a list of files or NULL (default: NULL) |
Definido na linha 576 do ficheiro class.phpwsdl.php.
RunServer | ( | $wsdlFile = null, | |
$class = null, | |||
$andExit = true, | |||
$forceNoWsdl = false ) |
Run the PHP SoapServer
string | $wsdlFile | The WSDL file name or NULL to let PhpWsdl decide (default: NULL) |
string | object | array | $class | The class name to serve, the classname and class as array or NULL (default: NULL) |
boolean | $andExit | Exit after running the server? (default: TRUE) |
boolean | $forceNoWsdl | Force no WSDL usage? (default: FALSE); |
Definido na linha 1701 do ficheiro class.phpwsdl.php.
SortObjectsByName | ( | $obj | ) |
Sort objects by name
PhpWsdlComplex[] | PhpWsdlMethod[] | $obj |
Definido na linha 1514 do ficheiro class.phpwsdl.php.
TidyCacheFolder | ( | $mineOnly = false, | |
$cleanUp = false, | |||
$wsdlFile = null ) |
Delete cache files from the cache folder
boolean | $mineOnly | Only delete the cache files for this definition? (default: FALSE) |
boolean | $cleanUp | Only delete the cache files that are timed out? (default: FALSE) |
string | $wsdlFile | The WSDL filename (default: NULL) |
Definido na linha 2230 do ficheiro class.phpwsdl.php.
|
static |
Translate a type name for WSDL
string | $type | The type name |
Definido na linha 2301 do ficheiro class.phpwsdl.php.
|
static |
Unregister a hook
string | $hook | The hook name |
string | $name | The call name or NULL to unregister the whole hook |
Definido na linha 2367 do ficheiro class.phpwsdl.php.
WriteWsdlToCache | ( | $wsdl = null, | |
$endpoint = null, | |||
$file = null, | |||
$force = false ) |
Write WSDL to cache
string | $wsdl | The UTF-8 encoded WSDL string (default: NULL) |
string | $endpoint | The SOAP endpoint or NULL to use the default (default: NULL) |
string | $file | The target filename or NULL to use the default (default: NULL) |
boolean | $force | Force refresh (default: FALSE) |
Definido na linha 2086 do ficheiro class.phpwsdl.php.
|
static |
Definido na linha 70 do ficheiro class.phpwsdl.php.
|
static |
Definido na linha 193 do ficheiro class.phpwsdl.php.
|
static |
Definido na linha 262 do ficheiro class.phpwsdl.php.
|
static |
Definido na linha 241 do ficheiro class.phpwsdl.php.
|
static |
Definido na linha 247 do ficheiro class.phpwsdl.php.
|
static |
Definido na linha 256 do ficheiro class.phpwsdl.php.
|
static |
Definido na linha 322 do ficheiro class.phpwsdl.php.
|
static |
Definido na linha 76 do ficheiro class.phpwsdl.php.
$ConfigurationDetermined =false |
Definido na linha 352 do ficheiro class.phpwsdl.php.
|
static |
Definido na linha 388 do ficheiro class.phpwsdl.php.
|
static |
Definido na linha 382 do ficheiro class.phpwsdl.php.
|
static |
Definido na linha 376 do ficheiro class.phpwsdl.php.
|
static |
Definido na linha 370 do ficheiro class.phpwsdl.php.
$Docs =null |
Definido na linha 106 do ficheiro class.phpwsdl.php.
$DocUri =null |
Definido na linha 136 do ficheiro class.phpwsdl.php.
$EndPoint =null |
Definido na linha 118 do ficheiro class.phpwsdl.php.
$Files =Array() |
Definido na linha 149 do ficheiro class.phpwsdl.php.
$ForceNotOutputHtml =false |
Definido na linha 298 do ficheiro class.phpwsdl.php.
$ForceNotOutputPhp =false |
Definido na linha 316 do ficheiro class.phpwsdl.php.
$ForceNotOutputWsdl =false |
Definido na linha 286 do ficheiro class.phpwsdl.php.
$ForceOutputHtml =false |
Definido na linha 292 do ficheiro class.phpwsdl.php.
$ForceOutputPhp =false |
Definido na linha 310 do ficheiro class.phpwsdl.php.
$ForceOutputWsdl =false |
Definido na linha 280 do ficheiro class.phpwsdl.php.
$HTML =null |
Definido na linha 180 do ficheiro class.phpwsdl.php.
|
static |
Definido na linha 334 do ficheiro class.phpwsdl.php.
|
static |
Definido na linha 328 do ficheiro class.phpwsdl.php.
|
static |
Definido na linha 340 do ficheiro class.phpwsdl.php.
$HtmlHeadLine =null |
Definido na linha 304 do ficheiro class.phpwsdl.php.
$IncludeDocs =true |
Definido na linha 274 do ficheiro class.phpwsdl.php.
$Methods =null |
Definido na linha 161 do ficheiro class.phpwsdl.php.
$Name |
Definido na linha 100 do ficheiro class.phpwsdl.php.
$NameSpace =null |
Definido na linha 112 do ficheiro class.phpwsdl.php.
|
static |
Definido na linha 394 do ficheiro class.phpwsdl.php.
|
static |
Definido na linha 225 do ficheiro class.phpwsdl.php.
$Optimize =true |
Definido na linha 168 do ficheiro class.phpwsdl.php.
$ParseDocs =true |
Definido na linha 268 do ficheiro class.phpwsdl.php.
$PHP =null |
Definido na linha 186 do ficheiro class.phpwsdl.php.
$PhpUri =null |
Definido na linha 130 do ficheiro class.phpwsdl.php.
|
static |
Definido na linha 82 do ficheiro class.phpwsdl.php.
|
static |
Definido na linha 88 do ficheiro class.phpwsdl.php.
$RequireLogin =false |
Definido na linha 364 do ficheiro class.phpwsdl.php.
$SoapServer =null |
Definido na linha 358 do ficheiro class.phpwsdl.php.
$SoapServerOptions =null |
Definido na linha 143 do ficheiro class.phpwsdl.php.
$SourcesParsed =false |
Definido na linha 346 do ficheiro class.phpwsdl.php.
$Types =null |
Definido na linha 155 do ficheiro class.phpwsdl.php.
|
static |
Definido na linha 94 do ficheiro class.phpwsdl.php.
|
static |
Definido na linha 64 do ficheiro class.phpwsdl.php.
$WSDL =null |
Definido na linha 174 do ficheiro class.phpwsdl.php.
$WsdlUri =null |
Definido na linha 124 do ficheiro class.phpwsdl.php.