MIOLO25
|
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 |
__construct | ( | $nameSpace = null, | |
$endPoint = null, | |||
$cacheFolder = null, | |||
$file = null, | |||
$name = null, | |||
$methods = null, | |||
$types = null, | |||
$outputOnRequest = false, | |||
$runServer = false ) |
CacheFileExists | ( | $file = null | ) |
Determine if the cache file exists
string | $file | The WSDL cache filename or NULL to use the default (default: NULL) |
|
static |
Call a hook function
string | $name | The hook name |
mixed | $data | The parameter (default: NULL) |
|
static |
Create complex types list
array | $data | The information object |
|
static |
Create general information
array | $data | The information object |
|
static |
Create table of contents
array | $data | The information object |
|
static |
Create method list
array | $data | The information object |
|
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) |
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) |
|
static |
Create bindings
array | $data | Data array |
|
static |
Create footer
array | $data | Data array |
|
static |
Create header
array | $data | Data array |
|
static |
Create messages
array | $data | Data array |
|
static |
Optimize WSDL
array | $data | Data array |
|
static |
Create port types
array | $data | Data array |
|
static |
Create service port
array | $data | Data array |
|
static |
Create type schema
array | $data | Data array |
|
static |
Add a debugging message
string | $str | The message to add to the debug protocol |
DetermineConfiguration | ( | ) |
Determine the configuration
DetermineEndPoint | ( | ) |
Determine the endpoint URI
DetermineNameSpace | ( | ) |
Determine the namespace
|
static |
Disble caching
bool | $allCaching | Do not only set the timeout to zero? (default: TRUE) |
|
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) |
|
static |
Format XML human readable
string | $xml | The XML |
GetCacheFileName | ( | $endpoint = null | ) |
Get the cache filename
string | $endpoint | The endpoint URI or NULL to use the PhpWsdl->EndPoint property (default: NULL) |
GetDocUri | ( | ) |
Get the HTML documentation URI
GetMethod | ( | $name | ) |
GetPhpUri | ( | ) |
Get the PHP download URI
GetType | ( | $name | ) |
Find a complex type
string | $name | The type name |
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) |
GetWsdlUri | ( | ) |
Get the WSDL download URI
|
static |
Determine if a hook has a registered handler
string | $hook | The hook name |
|
static |
Interpret the @service keyword
$data | The parser data |
IsCacheDifferent | ( | ) |
Determine if the cache is different from the current version of your webservice handler class. Status: Untested
|
static |
Determine if the cache folder is writeable
string | $folder | The folder or NULL to use the static property CacheFolder (default: NULL) |
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) |
IsFileInList | ( | $file | ) |
Determine if a file is included in the list of files
string | $file | The filename |
IsHtmlRequested | ( | ) |
Determine if HTML was requested by the client
IsOnlyGlobal | ( | ) |
Determine if only global methods are served
IsPhpRequested | ( | ) |
Determine if PHP was requested by the client
IsSoapRequest | ( | ) |
Determine if this request is a SOAP request
IsWsdlRequested | ( | ) |
Determine if WSDL was requested by the client
|
static |
Remove tabs and newline from XML
string | $xml | The unoptimized XML |
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); |
OutputHtmlOnRequest | ( | $andExit = true | ) |
Output the HTML to the client, if requested
boolean | $andExit | Exit after sending HTML? (default: TRUE) |
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); |
OutputPhpOnRequest | ( | $andExit = true | ) |
Output the PHP SOAP client source for this webservice, if requested
boolean | $andExit | Exit after sending the PHP source? |
OutputWsdl | ( | $withHeaders = true | ) |
Output the WSDL to the client
boolean | $withHeaders | Output XML headers? (default: TRUE) |
OutputWsdlOnRequest | ( | $andExit = true | ) |
Output the WSDL to the client, if requested
boolean | $andExit | Exit after sending WSDL? (default: TRUE) |
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) |
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
|
static |
Register a hook
string | $hook | The hook name |
string | $name | The call name |
mixed | $data | The hook call data |
|
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) |
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); |
SortObjectsByName | ( | $obj | ) |
Sort objects by name
PhpWsdlComplex[] | PhpWsdlMethod[] | $obj |
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) |
|
static |
Translate a type name for WSDL
string | $type | The type name |
|
static |
Unregister a hook
string | $hook | The hook name |
string | $name | The call name or NULL to unregister the whole hook |
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) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
$ConfigurationDetermined =false |
|
static |
|
static |
|
static |
|
static |
$Docs =null |
$DocUri =null |
$EndPoint =null |
$Files =Array() |
$ForceNotOutputHtml =false |
$ForceNotOutputPhp =false |
$ForceNotOutputWsdl =false |
$ForceOutputHtml =false |
$ForceOutputPhp =false |
$ForceOutputWsdl =false |
$HTML =null |
|
static |
|
static |
|
static |
$HtmlHeadLine =null |
$IncludeDocs =true |
$Methods =null |
$Name |
$NameSpace =null |
|
static |
|
static |
$Optimize =true |
$ParseDocs =true |
$PHP =null |
$PhpUri =null |
|
static |
|
static |
$RequireLogin =false |
$SoapServer =null |
$SoapServerOptions =null |
$SourcesParsed =false |
$Types =null |
|
static |
|
static |
$WSDL =null |
$WsdlUri =null |