summaryrefslogtreecommitdiffstats
path: root/src/bindings/swig/php/uscxmlNativePHP.php
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-06-12 23:33:52 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-06-12 23:33:52 (GMT)
commitbbd892b435c12395a6cf53bc53ed5acf195e4cbd (patch)
tree86ca106d7d347eb6361fca8c1dec4d7fc7cae965 /src/bindings/swig/php/uscxmlNativePHP.php
parent57510db0f3f10f85ecea53376ccf40688e2475bd (diff)
downloaduscxml-bbd892b435c12395a6cf53bc53ed5acf195e4cbd.zip
uscxml-bbd892b435c12395a6cf53bc53ed5acf195e4cbd.tar.gz
uscxml-bbd892b435c12395a6cf53bc53ed5acf195e4cbd.tar.bz2
Fixed build for unices
Diffstat (limited to 'src/bindings/swig/php/uscxmlNativePHP.php')
-rw-r--r--src/bindings/swig/php/uscxmlNativePHP.php34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/bindings/swig/php/uscxmlNativePHP.php b/src/bindings/swig/php/uscxmlNativePHP.php
index 7ca2e84..7d8b0aa 100644
--- a/src/bindings/swig/php/uscxmlNativePHP.php
+++ b/src/bindings/swig/php/uscxmlNativePHP.php
@@ -270,6 +270,10 @@ class Data {
return Data_isValid($this->_cPtr);
}
+ function hasKey($key) {
+ return Data_hasKey($this->_cPtr,$key);
+ }
+
static function fromJSON($jsonString) {
$r=Data_fromJSON($jsonString);
if (is_resource($r)) {
@@ -796,6 +800,20 @@ class Interpreter {
return Interpreter_getBaseURI($this->_cPtr);
}
+ function setNameSpaceInfo($namespaceInfo) {
+ Interpreter_setNameSpaceInfo($this->_cPtr,$namespaceInfo);
+ }
+
+ function getNameSpaceInfo() {
+ $r=Interpreter_getNameSpaceInfo($this->_cPtr);
+ if (is_resource($r)) {
+ $c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
+ if (class_exists($c)) return new $c($r);
+ return new StringMap($r);
+ }
+ return $r;
+ }
+
function setCmdLineOptions($argc,$argv) {
Interpreter_setCmdLineOptions($this->_cPtr,$argc,$argv);
}
@@ -822,6 +840,14 @@ class Interpreter {
Interpreter_setParentQueue($this->_cPtr,$parentQueue);
}
+ function setFactory($factory) {
+ Interpreter_setFactory($this->_cPtr,$factory);
+ }
+
+ function getFactory() {
+ return Interpreter_getFactory($this->_cPtr);
+ }
+
function getXPathPrefix() {
return Interpreter_getXPathPrefix($this->_cPtr);
}
@@ -1014,6 +1040,14 @@ class Interpreter {
return Interpreter_getUUID();
}
+ function getImpl() {
+ return Interpreter_getImpl($this->_cPtr);
+ }
+
+ static function getInstances() {
+ return Interpreter_getInstances();
+ }
+
function getConfiguration() {
$r=Interpreter_getConfiguration($this->_cPtr);
if (is_resource($r)) {