function nusoap_base::getNamespaceFromPrefix in Salesforce Suite 5
Same name in this branch
- 5 includes/nusoap.php \nusoap_base::getNamespaceFromPrefix()
- 5 includes/nusoap.orig.php \nusoap_base::getNamespaceFromPrefix()
Same name and namespace in other branches
- 5.2 includes/nusoap.php \nusoap_base::getNamespaceFromPrefix()
- 5.2 includes/nusoap.orig.php \nusoap_base::getNamespaceFromPrefix()
pass it a prefix, it returns a namespace
@access public
Parameters
string $prefix The prefix:
Return value
mixed The namespace, false if no namespace has the specified prefix
File
- includes/
nusoap.php, line 759
Class
- nusoap_base
- nusoap_base
Code
function getNamespaceFromPrefix($prefix) {
if (isset($this->namespaces[$prefix])) {
return $this->namespaces[$prefix];
}
//$this->setError("No namespace registered for prefix '$prefix'");
return false;
}