diff options
Diffstat (limited to 'src/bindings/swig/php/uscxmlNativePHP.php')
-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)) { |