- Added comprehensive AI Assistant system (aiassist/ directory): * Vector search and embedding capabilities * Typebot proxy integration * Elastic search functionality * Message classification and chat history * MCP proxy for external integrations - Implemented Court Status API (GetCourtStatus.php): * Real-time court document status checking * Integration with external court systems * Comprehensive error handling and logging - Enhanced S3 integration: * Improved file backup system with metadata * Batch processing capabilities * Enhanced error logging and recovery * Copy operations with URL fixing - Added Telegram contact creation API - Improved error logging across all modules - Enhanced callback system for AI responses - Extensive backup file storage with timestamps - Updated documentation and README files - File storage improvements: * Thousands of backup files with proper metadata * Fix operations for broken file references * Project-specific backup and recovery systems * Comprehensive file integrity checking Total: 26,461+ files added/modified including AWS SDK, vendor dependencies, and extensive backup system.
107 lines
2.2 KiB
PHP
107 lines
2.2 KiB
PHP
<?php
|
|
|
|
|
|
|
|
|
|
/**
|
|
* For creating serializable abstractions of native PHP types. This class
|
|
* allows element name/namespace, XSD type, and XML attributes to be
|
|
* associated with a value. This is extremely useful when WSDL is not
|
|
* used, but is also useful when WSDL is used with polymorphic types, including
|
|
* xsd:anyType and user-defined types.
|
|
*
|
|
* @author Dietrich Ayala <dietrich@ganx4.com>
|
|
* @version $Id: class.soap_val.php,v 1.9 2005/07/27 19:24:42 snichol Exp $
|
|
* @access public
|
|
*/
|
|
class soapval extends nusoap_base {
|
|
/**
|
|
* The XML element name
|
|
*
|
|
* @var string
|
|
* @access private
|
|
*/
|
|
var $name;
|
|
/**
|
|
* The XML type name (string or false)
|
|
*
|
|
* @var mixed
|
|
* @access private
|
|
*/
|
|
var $type;
|
|
/**
|
|
* The PHP value
|
|
*
|
|
* @var mixed
|
|
* @access private
|
|
*/
|
|
var $value;
|
|
/**
|
|
* The XML element namespace (string or false)
|
|
*
|
|
* @var mixed
|
|
* @access private
|
|
*/
|
|
var $element_ns;
|
|
/**
|
|
* The XML type namespace (string or false)
|
|
*
|
|
* @var mixed
|
|
* @access private
|
|
*/
|
|
var $type_ns;
|
|
/**
|
|
* The XML element attributes (array or false)
|
|
*
|
|
* @var mixed
|
|
* @access private
|
|
*/
|
|
var $attributes;
|
|
|
|
/**
|
|
* constructor
|
|
*
|
|
* @param string $name optional name
|
|
* @param mixed $type optional type name
|
|
* @param mixed $value optional value
|
|
* @param mixed $element_ns optional namespace of value
|
|
* @param mixed $type_ns optional namespace of type
|
|
* @param mixed $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) {
|
|
parent::nusoap_base();
|
|
$this->name = $name;
|
|
$this->type = $type;
|
|
$this->value = $value;
|
|
$this->element_ns = $element_ns;
|
|
$this->type_ns = $type_ns;
|
|
$this->attributes = $attributes;
|
|
}
|
|
|
|
/**
|
|
* return serialized value
|
|
*
|
|
* @param string $use The WSDL use value (encoded|literal)
|
|
* @return string XML data
|
|
* @access public
|
|
*/
|
|
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
|
|
*
|
|
* @return mixed
|
|
* @access public
|
|
*/
|
|
function decode(){
|
|
return $this->value;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
?>
|