diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-04-10 20:57:11 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-04-10 20:57:11 (GMT) |
commit | 45ab2909e17f7e0348ccfe4179f23a897a2fd305 (patch) | |
tree | 7a5dfe75657034659e45431469b3909cb69db035 /src/bindings | |
parent | 1c7064006d4283ffbfa64febea397e68df8e2b54 (diff) | |
download | uscxml-45ab2909e17f7e0348ccfe4179f23a897a2fd305.zip uscxml-45ab2909e17f7e0348ccfe4179f23a897a2fd305.tar.gz uscxml-45ab2909e17f7e0348ccfe4179f23a897a2fd305.tar.bz2 |
New DataModels
Diffstat (limited to 'src/bindings')
-rw-r--r-- | src/bindings/swig/php/uscxmlNativePHP.php | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/src/bindings/swig/php/uscxmlNativePHP.php b/src/bindings/swig/php/uscxmlNativePHP.php index 34984ab..89cad82 100644 --- a/src/bindings/swig/php/uscxmlNativePHP.php +++ b/src/bindings/swig/php/uscxmlNativePHP.php @@ -26,6 +26,64 @@ if (!extension_loaded('uscxmlNativePHP')) { +abstract class uscxmlNativePHP { + const CAN_NOTHING = 0; + + const CAN_BASIC_HTTP = 1; + + const CAN_GENERIC_HTTP = 2; + + const ANY = 0; + + const BOOL = BOOL; + + const NUMBER = NUMBER; + + const STRING = STRING; + + const NODE_SET = NODE_SET; + + static function NaN_get() { + return NaN_get(); + } + + static function Zero_get() { + return Zero_get(); + } + + static function Negative_Zero_get() { + return Negative_Zero_get(); + } + + static function Infinity_get() { + return Infinity_get(); + } + + static function Negative_Infinity_get() { + return Negative_Infinity_get(); + } + + static function isNaN($value) { + return isNaN($value); + } + + static function isInfinity($value) { + return isInfinity($value); + } + + static function isNegativeInfinity($value) { + return isNegativeInfinity($value); + } + + static function isInfinite($value) { + return isInfinite($value); + } + + static function roundNumber($value) { + return roundNumber($value); + } +} + /* PHP Proxy Classes */ class Data { public $_cPtr=null; @@ -67,6 +125,10 @@ class Data { } } + function isValid() { + return Data_isValid($this->_cPtr); + } + static function fromJSON($jsonString) { $r=Data_fromJSON($jsonString); if (is_resource($r)) { |