JavaScript Editor Javascript validator     Web page editor 



Package XML_Serializer Constants

Package XML_Serializer Constants -- Constants defined in and used by XML_Serializer

All Constants

Constants defined in Serializer.php

Table 68-1. Constants defined in Serializer.php

NameValueNotes
XML_SERIALIZER_ERROR_NO_SERIALIZATION51error code returned by serialize() when it did not succeed
XML_SERIALIZER_MODE_DEFAULTdefaultuse for default serializer mode behavior
XML_SERIALIZER_MODE_SIMPLEXMLsimplexmluse for SimpleXML behavior in serializer
XML_SERIALIZER_ENTITIES_NONEXML_UTIL_ENTITIES_NONEmaps to XML_Util's Entity replacement behavior of "don't replace entities"
XML_SERIALIZER_ENTITIES_XMLXML_UTIL_ENTITIES_XMLmaps to XML_Util's Entity replacement behavior of "only replace XML entities"
XML_SERIALIZER_ENTITIES_XML_REQUIREDXML_UTIL_ENTITIES_XML_REQUIREDmaps to XML_Util's Entity replacement behavior of "only replace required XML entities"
XML_SERIALIZER_ENTITIES_HTMLXML_UTIL_ENTITIES_HTMLmaps to XML_Util's Entity replacement behavior of "only replace HTML entities"
XML_SERIALIZER_OPTION_INDENTindentOPTION constant for 'indent' option
XML_SERIALIZER_OPTION_LINEBREAKSlinebreakOPTION constant for 'linebreak' option
XML_SERIALIZER_OPTION_TYPEHINTStypeHintsOPTION constant for 'typeHints' option
XML_SERIALIZER_OPTION_XML_DECL_ENABLEDaddDeclOPTION constant for 'addDecl' option
XML_SERIALIZER_OPTION_XML_ENCODINGencodingOPTION constant for 'encoding' option
XML_SERIALIZER_OPTION_DEFAULT_TAGdefaultTagNameOPTION constant for 'defaultTagName' option
XML_SERIALIZER_OPTION_CLASSNAME_AS_TAGNAMEclassAsTagNameOPTION constant for 'classAsTagName' option
XML_SERIALIZER_OPTION_ATTRIBUTE_KEYkeyAttributeOPTION constant for 'keyAttribute' option
XML_SERIALIZER_OPTION_ATTRIBUTE_TYPEtypeAttributeOPTION constant for 'typeAttribute' option
XML_SERIALIZER_OPTION_ATTRIBUTE_CLASSclassAttributeOPTION constant for 'classAttribute' option
XML_SERIALIZER_OPTION_SCALAR_AS_ATTRIBUTESscalarAsAttributesOPTION constant for 'scalarAsAttributes' option
XML_SERIALIZER_OPTION_PREPEND_ATTRIBUTESprependAttributesOPTION constant for 'prependAttributes' option
XML_SERIALIZER_OPTION_INDENT_ATTRIBUTESindentAttributesOPTION constant for 'indentAttributes' option
XML_SERIALIZER_OPTION_MODEmodeOPTION constant for 'mode' option
XML_SERIALIZER_OPTION_DOCTYPE_ENABLEDaddDoctypeOPTION constant for 'addDoctype' option
XML_SERIALIZER_OPTION_DOCTYPEdoctypeOPTION constant for 'doctype' option
XML_SERIALIZER_OPTION_ROOT_NAMErootNameOPTION constant for 'rootName' option
XML_SERIALIZER_OPTION_ROOT_ATTRIBSrootAttributesOPTION constant for 'rootAttributes' option
XML_SERIALIZER_OPTION_ATTRIBUTES_KEYattributesArrayOPTION constant for 'attributesArray' option
XML_SERIALIZER_OPTION_CONTENT_KEYcontentNameOPTION constant for 'contentName' option
XML_SERIALIZER_OPTION_COMMENT_KEYcommentNameOPTION constant for 'commentName' option
XML_SERIALIZER_OPTION_TAGMAPtagMapOPTION constant for 'tagMap' option
XML_SERIALIZER_OPTION_ENCODE_FUNCencodeFunctionOPTION constant for 'encodeFunction' option
XML_SERIALIZER_OPTION_NAMESPACEnamespaceOPTION constant for 'namespace' option
XML_SERIALIZER_OPTION_ENTITIESreplaceEntitiesOPTION constant for 'replaceEntities' option
XML_SERIALIZER_OPTION_RETURN_RESULTreturnResultOPTION constant for 'returnResult' option
XML_SERIALIZER_OPTION_IGNORE_NULLignoreNullOPTION constant for 'ignoreNull' option
XML_SERIALIZER_OPTION_CDATA_SECTIONScdataOPTION constant for 'cdata' option

Constants defined in Unserializer.php

Table 68-2. Constants defined in Unserializer.php

NameValueNotes
XML_UNSERIALIZER_ERROR_NO_UNSERIALIZATION151error code returned by unserialize() when it did not succeed
XML_UNSERIALIZER_OPTION_COMPLEXTYPEcomplexTypeOPTION constant for 'complexType' option
XML_UNSERIALIZER_OPTION_ATTRIBUTE_KEYkeyAttributeOPTION constant for 'keyAttribute' option
XML_UNSERIALIZER_OPTION_ATTRIBUTE_TYPEtypeAttributeOPTION constant for 'typeAttribute' option
XML_UNSERIALIZER_OPTION_ATTRIBUTE_CLASSclassAttributeOPTION constant for 'classAttribute' option
XML_UNSERIALIZER_OPTION_TAG_AS_CLASSNAMEtagAsClassOPTION constant for 'tagAsClass' option
XML_UNSERIALIZER_OPTION_DEFAULT_CLASSdefaultClassOPTION constant for 'defaultClass' option
XML_UNSERIALIZER_OPTION_ATTRIBUTES_PARSEparseAttributesOPTION constant for 'parseAttributes' option
XML_UNSERIALIZER_OPTION_ATTRIBUTES_ARRAYKEYattributesArrayOPTION constant for 'attributesArray' option
XML_UNSERIALIZER_OPTION_ATTRIBUTES_PREPENDprependAttributesOPTION constant for 'prependAttributes' option
XML_UNSERIALIZER_OPTION_CONTENT_KEYcontentNameOPTION constant for 'contentName' option
XML_UNSERIALIZER_OPTION_TAG_MAPtagMapOPTION constant for 'tagMap' option
XML_UNSERIALIZER_OPTION_FORCE_ENUMforceEnumOPTION constant for 'forceEnum' option
XML_UNSERIALIZER_OPTION_ENCODING_SOURCEencodingOPTION constant for 'encoding' option
XML_UNSERIALIZER_OPTION_ENCODING_TARGETtargetEncodingOPTION constant for 'targetEncoding' option
XML_UNSERIALIZER_OPTION_DECODE_FUNCdecodeFunctionOPTION constant for 'decodeFunction' option
XML_UNSERIALIZER_OPTION_RETURN_RESULTreturnResultOPTION constant for 'returnResult' option
XML_UNSERIALIZER_OPTION_WHITESPACEwhitespaceOPTION constant for 'whitespace' option
XML_UNSERIALIZER_WHITESPACE_KEEPkeepOPTION constant for 'keep' option
XML_UNSERIALIZER_WHITESPACE_TRIMtrimOPTION constant for 'trim' option
XML_UNSERIALIZER_WHITESPACE_NORMALIZEnormalizeOPTION constant for 'normalize' option
XML_UNSERIALIZER_OPTION_OVERRIDE_OPTIONSoverrideOptionsOPTION constant for 'overrideOptions' option
XML_UNSERIALIZER_OPTION_IGNORE_KEYSignoreKeysOPTION constant for 'ignoreKeys' option
XML_UNSERIALIZER_OPTION_GUESS_TYPESguessTypesOPTION constant for 'guessTypes' option




JavaScript Editor Javascript validator     Web page editor