diff options
Diffstat (limited to 'framework/Web')
-rw-r--r-- | framework/Web/Services/TSoapService.php | 2 | ||||
-rw-r--r-- | framework/Web/UI/TTemplateManager.php | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/framework/Web/Services/TSoapService.php b/framework/Web/Services/TSoapService.php index 1472ffc4..e4a1c67e 100644 --- a/framework/Web/Services/TSoapService.php +++ b/framework/Web/Services/TSoapService.php @@ -361,7 +361,7 @@ class TSoapServer extends TApplicationComponent $options['uri']=$this->_uri; if(is_string($this->_classMap)) { - foreach(preg_split('/\s?,\s?/', $this->_classMap) as $className) + foreach(preg_split('/\s*,\s*/', $this->_classMap) as $className) $options['classmap'][$className]=$className; //complex type uses the class name in the wsdl } return $options; diff --git a/framework/Web/UI/TTemplateManager.php b/framework/Web/UI/TTemplateManager.php index faf0c7fd..ef4a5c1e 100644 --- a/framework/Web/UI/TTemplateManager.php +++ b/framework/Web/UI/TTemplateManager.php @@ -250,6 +250,14 @@ class TTemplate extends TApplicationComponent implements ITemplate }
/**
+ * @return string template file path if available, null otherwise.
+ */
+ public function getTemplateFile()
+ {
+ return $this->_tplFile;
+ }
+
+ /**
* @return boolean whether this template is a source template, i.e., this template is loaded from
* some external storage rather than from within another template.
*/
|