summaryrefslogtreecommitdiffstats
path: root/old/includes/lib/class.soap_val.php
diff options
context:
space:
mode:
Diffstat (limited to 'old/includes/lib/class.soap_val.php')
-rw-r--r--old/includes/lib/class.soap_val.php58
1 files changed, 0 insertions, 58 deletions
diff --git a/old/includes/lib/class.soap_val.php b/old/includes/lib/class.soap_val.php
deleted file mode 100644
index de41406..0000000
--- a/old/includes/lib/class.soap_val.php
+++ /dev/null
@@ -1,58 +0,0 @@
-<?php
-
-
-
-/**
-* for creating serializable abstractions of native PHP types
-* NOTE: this is only really used when WSDL is not available.
-*
-* @author Dietrich Ayala <dietrich@ganx4.com>
-* @version $Id: class.soap_val.php 46 2007-06-19 07:29:11Z tsigo $
-* @access public
-*/
-class soapval extends nusoap_base {
- /**
- * constructor
- *
- * @param string $name optional name
- * @param string $type optional type name
- * @param mixed $value optional value
- * @param string $namespace optional namespace of value
- * @param string $type_namespace optional namespace of type
- * @param array $attributes associative array of attributes to add to element serialization
- * @access public
- */
- function soapval($name='soapval',$type=false,$value=-1,$element_ns=false,$type_ns=false,$attributes=false) {
- $this->name = $name;
- $this->value = $value;
- $this->type = $type;
- $this->element_ns = $element_ns;
- $this->type_ns = $type_ns;
- $this->attributes = $attributes;
- }
-
- /**
- * return serialized value
- *
- * @return string XML data
- * @access private
- */
- function serialize($use='encoded') {
- return $this->serialize_val($this->value,$this->name,$this->type,$this->element_ns,$this->type_ns,$this->attributes,$use);
- }
-
- /**
- * decodes a soapval object into a PHP native type
- *
- * @param object $soapval optional SOAPx4 soapval object, else uses self
- * @return mixed
- * @access public
- */
- function decode(){
- return $this->value;
- }
-}
-
-
-
-?> \ No newline at end of file