CakeFest 2024: The Official CakePHP Conference

Constantes pré-définies

Ces constantes sont définies par cette extension, et ne sont disponibles que si cette extension a été compilée avec PHP, ou bien chargée au moment de l'exécution.

SOAP constants
Constante Valeur Description
SOAP_1_1 (int) 1 Spécifie l'utilisation de SOAP 1.1 lorsqu'elle est passée en tant qu'option soap_version à SoapServer::__construct() ou SoapClient::__construct().
SOAP_1_2 (int) 2 Spécifie l'utilisation de SOAP 1.2 lorsqu'il est passé en tant qu'option soap_version à SoapServer::__construct() ou SoapClient::__construct().
SOAP_PERSISTENCE_SESSION (int) 1 Spécifie l'utilisation de l'encodage SOAP lorsqu'elle est passée en tant qu'option use à la méthode SoapClient::__construct().
SOAP_PERSISTENCE_REQUEST (int) 2 Spécifie l'utilisation d'un encodage spécifique au service lorsqu'elle est passée en tant qu'option use à SoapClient::__construct().
SOAP_FUNCTIONS_ALL (int) 999  
SOAP_ENCODED (int) 1 Spécifie l'utilisation d'une liaison de style RPC lorsqu'elle est passée en tant qu'option style à SoapClient::__construct().
SOAP_LITERAL (int) 2 Spécifie l'utilisation d'une liaison de type document lorsque passée en tant que valeur style de l'option à SoapClient::__construct().
SOAP_RPC (int) 1  
SOAP_DOCUMENT (int) 2  
SOAP_ACTOR_NEXT (int) 1  
SOAP_ACTOR_NONE (int) 2  
SOAP_ACTOR_UNLIMATERECEIVER (int) 3  
SOAP_COMPRESSION_ACCEPT (int) 32 Spécifie l'utilisation de l'en-tête "Accept-Encoding" lorsqu'elle est passée en tant que partie de l'option compression à SoapClient::__construct().
SOAP_COMPRESSION_GZIP (int) 0 Spécifie l'utilisation de la compression deflate lorsqu'elle est transmise dans le cadre de l'option compression de la méthode SoapClient::__construct().
SOAP_COMPRESSION_DEFLATE (int) 16 Spécifie l'utilisation de la compression deflate lorsqu'elle est transmise dans le cadre de l'option compression de la méthode SoapClient::__construct().
SOAP_AUTHENTICATION_BASIC (int) 0 Spécifie l'utilisation de l'authentification HTTP Basic lorsqu'elle est passée en tant qu'option authentication à SoapClient::__construct().
SOAP_AUTHENTICATION_DIGEST (int) 1 Spécifie l'utilisation de l'authentification HTTP Digest lorsqu'elle est passée en tant qu'option authentication à SoapClient::__construct().
SOAP_SSL_METHOD_TLS (int) 0 Utilisée avec l'option obsolète ssl_method de SoapClient::__construct().
SOAP_SSL_METHOD_SSLv2 (int) 1 Utilisée avec l'option ssl_method obsolète dans la méthode SoapClient::__construct().
SOAP_SSL_METHOD_SSLv3 (int) 2 Utilisée avec l'option obsolète ssl_method pour SoapClient::__construct().
SOAP_SSL_METHOD_SSLv23 (int) 3 Utilisée avec l'option obsolète ssl_method pour SoapClient::__construct().
UNKNOWN_TYPE (int) 999998  
XSD_STRING (int) 101  
XSD_BOOLEAN (int) 102  
XSD_DECIMAL (int) 103  
XSD_FLOAT (int) 104  
XSD_DOUBLE (int) 105  
XSD_DURATION (int) 106  
XSD_DATETIME (int) 107  
XSD_TIME (int) 108  
XSD_DATE (int) 109  
XSD_GYEARMONTH (int) 110  
XSD_GYEAR (int) 111  
XSD_GMONTHDAY (int) 112  
XSD_GDAY (int) 113  
XSD_GMONTH (int) 114  
XSD_HEXBINARY (int) 115  
XSD_BASE64BINARY (int) 116  
XSD_ANYURI (int) 117  
XSD_QNAME (int) 118  
XSD_NOTATION (int) 119  
XSD_NORMALIZEDSTRING (int) 120  
XSD_TOKEN (int) 121  
XSD_LANGUAGE (int) 122  
XSD_NMTOKEN (int) 123  
XSD_NAME (int) 124  
XSD_NCNAME (int) 125  
XSD_ID (int) 126  
XSD_IDREF (int) 127  
XSD_IDREFS (int) 128  
XSD_ENTITY (int) 129  
XSD_ENTITIES (int) 130  
XSD_INTEGER (int) 131  
XSD_NONPOSITIVEINTEGER (int) 132  
XSD_NEGATIVEINTEGER (int) 133  
XSD_LONG (int) 134  
XSD_INT (int) 135  
XSD_SHORT (int) 136  
XSD_BYTE (int) 137  
XSD_NONNEGATIVEINTEGER (int) 138  
XSD_UNSIGNEDLONG (int) 139  
XSD_UNSIGNEDINT (int) 140  
XSD_UNSIGNEDSHORT (int) 141  
XSD_UNSIGNEDBYTE (int) 142  
XSD_POSITIVEINTEGER (int) 143  
XSD_NMTOKENS (int) 144  
XSD_ANYTYPE (int) 145  
XSD_ANYXML (int) 147  
APACHE_MAP (int) 200  
SOAP_ENC_OBJECT (int) 301  
SOAP_ENC_ARRAY (int) 300  
XSD_1999_TIMEINSTANT (int) 401  
XSD_NAMESPACE (string) http://www.w3.org/2001/XMLSchema  
XSD_1999_NAMESPACE (string) http://www.w3.org/1999/XMLSchema  
SOAP_SINGLE_ELEMENT_ARRAYS (int) 1 Utilisée avec l'option features dans la méthode SoapClient::__construct().
SOAP_WAIT_ONE_WAY_CALLS (int) 2 Utilisée avec l'option features dans la méthode SoapClient::__construct().
SOAP_USE_XSI_ARRAY_TYPE (int) 4 Utilisée avec l'option features dans la méthode SoapClient::__construct().
WSDL_CACHE_NONE (int) 0 Désactive le cache WSDL lorsqu'il est utilisé dans l'option de configuration soap.wsdl_cache ou dans l'option wsdl_cache de SoapClient::__construct() et SoapServer::__construct().
WSDL_CACHE_DISK (int) 1 Indique l'utilisation du cache WSDL en mémoire uniquement lorsqu'il est utilisé dans l'option de configuration soap.wsdl_cache ou l'option wsdl_cache de SoapClient::__construct() et SoapServer::__construct().
WSDL_CACHE_MEMORY (int) 2 Spécifie l'utilisation du cache WSDL en mémoire vive uniquement lorsqu'il est utilisé dans l'option de configuration soap.wsdl_cache ou l'option wsdl_cache de SoapClient::__construct() et SoapServer::__construct().
WSDL_CACHE_BOTH (int) 3 Spécifie l'utilisation des caches WSDL en mémoire et sur disque lorsqu'elle est utilisée dans l'option de configuration soap.wsdl_cache ou l'option wsdl_cache de SoapClient::__construct() et SoapServer::__construct().
add a note

User Contributed Notes 1 note

up
-22
User
13 years ago
We are casting the values (float) to simulate the 64-bits long. seem to work fine, of course, the values we are using have no decimal point.
To Top