summaryrefslogtreecommitdiffstats
path: root/src/bindings/swig/php/uscxmlNativePHP.php
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-07-26 19:05:33 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-07-26 19:05:33 (GMT)
commit720bbe5c1b8c0789b5c7ad9ffca33e52bf77f1da (patch)
tree8f692eb636ddb21649097e053f8504a2dab70a01 /src/bindings/swig/php/uscxmlNativePHP.php
parent8ff01ac995c8b95fa2695b6ff7e3e985bd4579d6 (diff)
downloaduscxml-720bbe5c1b8c0789b5c7ad9ffca33e52bf77f1da.zip
uscxml-720bbe5c1b8c0789b5c7ad9ffca33e52bf77f1da.tar.gz
uscxml-720bbe5c1b8c0789b5c7ad9ffca33e52bf77f1da.tar.bz2
Started calendar invoker and bug fixes
Diffstat (limited to 'src/bindings/swig/php/uscxmlNativePHP.php')
-rw-r--r--src/bindings/swig/php/uscxmlNativePHP.php116
1 files changed, 78 insertions, 38 deletions
diff --git a/src/bindings/swig/php/uscxmlNativePHP.php b/src/bindings/swig/php/uscxmlNativePHP.php
index 451fb1d..ef37b94 100644
--- a/src/bindings/swig/php/uscxmlNativePHP.php
+++ b/src/bindings/swig/php/uscxmlNativePHP.php
@@ -946,40 +946,8 @@ class Interpreter {
return Interpreter_hasLegalConfiguration($this->_cPtr);
}
- static function isState($state) {
- return Interpreter_isState($state);
- }
-
- static function isPseudoState($state) {
- return Interpreter_isPseudoState($state);
- }
-
- static function isTransitionTarget($elem) {
- return Interpreter_isTransitionTarget($elem);
- }
-
- static function isTargetless($transition) {
- return Interpreter_isTargetless($transition);
- }
-
- static function isFinal($state) {
- return Interpreter_isFinal($state);
- }
-
- static function isHistory($state) {
- return Interpreter_isHistory($state);
- }
-
- static function isParallel($state) {
- return Interpreter_isParallel($state);
- }
-
- static function isCompound($state) {
- return Interpreter_isCompound($state);
- }
-
- static function isDescendant($s1,$s2) {
- return Interpreter_isDescendant($s1,$s2);
+ function isLegalConfiguration($config) {
+ return Interpreter_isLegalConfiguration($this->_cPtr,$config);
}
static function tokenizeIdRefs($idRefs) {
@@ -996,10 +964,6 @@ class Interpreter {
return Interpreter_spaceNormalize($text);
}
- function isInitial($state) {
- return Interpreter_isInitial($this->_cPtr,$state);
- }
-
function getInitialStates($state=null) {
switch (func_num_args()) {
case 0: $r=Interpreter_getInitialStates($this->_cPtr); break;
@@ -1072,6 +1036,38 @@ class Interpreter {
return $r;
}
+ function isState($stateId=null) {
+ switch (func_num_args()) {
+ case 0: $r=Interpreter_isState($this->_cPtr); break;
+ default: $r=Interpreter_isState($this->_cPtr,$stateId);
+ }
+ return $r;
+ }
+
+ function isPseudoState($stateId=null) {
+ switch (func_num_args()) {
+ case 0: $r=Interpreter_isPseudoState($this->_cPtr); break;
+ default: $r=Interpreter_isPseudoState($this->_cPtr,$stateId);
+ }
+ return $r;
+ }
+
+ function isTransitionTarget($stateId=null) {
+ switch (func_num_args()) {
+ case 0: $r=Interpreter_isTransitionTarget($this->_cPtr); break;
+ default: $r=Interpreter_isTransitionTarget($this->_cPtr,$stateId);
+ }
+ return $r;
+ }
+
+ function isTargetless($stateId=null) {
+ switch (func_num_args()) {
+ case 0: $r=Interpreter_isTargetless($this->_cPtr); break;
+ default: $r=Interpreter_isTargetless($this->_cPtr,$stateId);
+ }
+ return $r;
+ }
+
function isAtomic($stateId=null) {
switch (func_num_args()) {
case 0: $r=Interpreter_isAtomic($this->_cPtr); break;
@@ -1079,6 +1075,50 @@ class Interpreter {
}
return $r;
}
+
+ function isInitial($state_or_stateId) {
+ return Interpreter_isInitial($this->_cPtr,$state_or_stateId);
+ }
+
+ function isFinal($stateId=null) {
+ switch (func_num_args()) {
+ case 0: $r=Interpreter_isFinal($this->_cPtr); break;
+ default: $r=Interpreter_isFinal($this->_cPtr,$stateId);
+ }
+ return $r;
+ }
+
+ function isHistory($stateId=null) {
+ switch (func_num_args()) {
+ case 0: $r=Interpreter_isHistory($this->_cPtr); break;
+ default: $r=Interpreter_isHistory($this->_cPtr,$stateId);
+ }
+ return $r;
+ }
+
+ function isParallel($stateId=null) {
+ switch (func_num_args()) {
+ case 0: $r=Interpreter_isParallel($this->_cPtr); break;
+ default: $r=Interpreter_isParallel($this->_cPtr,$stateId);
+ }
+ return $r;
+ }
+
+ function isCompound($stateId=null) {
+ switch (func_num_args()) {
+ case 0: $r=Interpreter_isCompound($this->_cPtr); break;
+ default: $r=Interpreter_isCompound($this->_cPtr,$stateId);
+ }
+ return $r;
+ }
+
+ function isDescendant($s2_or_stateId1,$stateId2=null) {
+ switch (func_num_args()) {
+ case 1: $r=Interpreter_isDescendant($this->_cPtr,$s2_or_stateId1); break;
+ default: $r=Interpreter_isDescendant($this->_cPtr,$s2_or_stateId1,$stateId2);
+ }
+ return $r;
+ }
}
class InterpreterMonitor {