Element index for package XML_Serializer
[ a ]
[ b ]
[ f ]
[ g ]
[ m ]
[ o ]
[ r ]
[ s ]
[ u ]
[ x ]
[ _ ]
top
top
top
top
top
m
- MyClass
- in file serializeObject.php, class MyClass
Example class that implements __sleep()
top
top
top
top
top
x
- XML_Serializer
- in file Serializer.php, method XML_Serializer::XML_Serializer()
Constructor
- XML_Serializer
- in file Serializer.php, class XML_Serializer
Creates XML documents from PHP data structures like arrays, objects or scalars.
- XML_SERIALIZER_ENTITIES_HTML
- in file Serializer.php, constant XML_SERIALIZER_ENTITIES_HTML
replace HTML entitites
- XML_SERIALIZER_ENTITIES_NONE
- in file Serializer.php, constant XML_SERIALIZER_ENTITIES_NONE
do not replace entitites
- XML_SERIALIZER_ENTITIES_XML
- in file Serializer.php, constant XML_SERIALIZER_ENTITIES_XML
replace all XML entitites
- XML_SERIALIZER_ENTITIES_XML_REQUIRED
- in file Serializer.php, constant XML_SERIALIZER_ENTITIES_XML_REQUIRED
replace only required XML entitites
- XML_SERIALIZER_ERROR_NO_SERIALIZATION
- in file Serializer.php, constant XML_SERIALIZER_ERROR_NO_SERIALIZATION
error code for no serialization done
- XML_SERIALIZER_MODE_DEFAULT
- in file Serializer.php, constant XML_SERIALIZER_MODE_DEFAULT
default mode
- XML_SERIALIZER_MODE_SIMPLEXML
- in file Serializer.php, constant XML_SERIALIZER_MODE_SIMPLEXML
SimpleXML mode
- XML_SERIALIZER_OPTION_ATTRIBUTES_KEY
- in file Serializer.php, constant XML_SERIALIZER_OPTION_ATTRIBUTES_KEY
option: all values in this key will be treated as attributes
- XML_SERIALIZER_OPTION_ATTRIBUTE_CLASS
- in file Serializer.php, constant XML_SERIALIZER_OPTION_ATTRIBUTE_CLASS
option: attribute for class (only if typeHints => true)
- XML_SERIALIZER_OPTION_ATTRIBUTE_KEY
- in file Serializer.php, constant XML_SERIALIZER_OPTION_ATTRIBUTE_KEY
option: attribute where original key is stored
- XML_SERIALIZER_OPTION_ATTRIBUTE_TYPE
- in file Serializer.php, constant XML_SERIALIZER_OPTION_ATTRIBUTE_TYPE
option: attribute for type (only if typeHints => true)
- XML_SERIALIZER_OPTION_CDATA_SECTIONS
- in file Serializer.php, constant XML_SERIALIZER_OPTION_CDATA_SECTIONS
option: whether to use cdata sections for character data
- XML_SERIALIZER_OPTION_CLASSNAME_AS_TAGNAME
- in file Serializer.php, constant XML_SERIALIZER_OPTION_CLASSNAME_AS_TAGNAME
option: use classname for objects in indexed arrays
- XML_SERIALIZER_OPTION_COMMENT_KEY
- in file Serializer.php, constant XML_SERIALIZER_OPTION_COMMENT_KEY
option: this value will be used in a comment, instead of creating a new tag
- XML_SERIALIZER_OPTION_CONTENT_KEY
- in file Serializer.php, constant XML_SERIALIZER_OPTION_CONTENT_KEY
option: this value will be used directly as content, instead of creating a new tag, may only be used in conjuction with attributesArray
- XML_SERIALIZER_OPTION_DEFAULT_TAG
- in file Serializer.php, constant XML_SERIALIZER_OPTION_DEFAULT_TAG
option: default name for tags
- XML_SERIALIZER_OPTION_DOCTYPE
- in file Serializer.php, constant XML_SERIALIZER_OPTION_DOCTYPE
option: supply a string or an array with id and uri ({@see XML_Util::getDoctypeDeclaration()}
- XML_SERIALIZER_OPTION_DOCTYPE_ENABLED
- in file Serializer.php, constant XML_SERIALIZER_OPTION_DOCTYPE_ENABLED
option: add a doctype declaration
- XML_SERIALIZER_OPTION_ENCODE_FUNC
- in file Serializer.php, constant XML_SERIALIZER_OPTION_ENCODE_FUNC
option: function that will be applied before serializing
- XML_SERIALIZER_OPTION_ENTITIES
- in file Serializer.php, constant XML_SERIALIZER_OPTION_ENTITIES
option: type of entities to replace
- XML_SERIALIZER_OPTION_FALSE_AS_STRING
- in file Serializer.php, constant XML_SERIALIZER_OPTION_FALSE_AS_STRING
option: whether a boolean FALSE value should become a string
- XML_SERIALIZER_OPTION_IGNORE_NULL
- in file Serializer.php, constant XML_SERIALIZER_OPTION_IGNORE_NULL
option: whether to ignore properties that are set to null
- XML_SERIALIZER_OPTION_INDENT
- in file Serializer.php, constant XML_SERIALIZER_OPTION_INDENT
option: string used for indentation
- XML_SERIALIZER_OPTION_INDENT_ATTRIBUTES
- in file Serializer.php, constant XML_SERIALIZER_OPTION_INDENT_ATTRIBUTES
option: indent the attributes, if set to '_auto', it will indent attributes so they all start at the same column
- XML_SERIALIZER_OPTION_LINEBREAKS
- in file Serializer.php, constant XML_SERIALIZER_OPTION_LINEBREAKS
option: string used for linebreaks
- XML_SERIALIZER_OPTION_MODE
- in file Serializer.php, constant XML_SERIALIZER_OPTION_MODE
option: use 'simplexml' to use parent name as tagname if transforming an indexed array
- XML_SERIALIZER_OPTION_NAMESPACE
- in file Serializer.php, constant XML_SERIALIZER_OPTION_NAMESPACE
option: namespace to use for the document
- XML_SERIALIZER_OPTION_PREPEND_ATTRIBUTES
- in file Serializer.php, constant XML_SERIALIZER_OPTION_PREPEND_ATTRIBUTES
option: prepend string for attributes
- XML_SERIALIZER_OPTION_RETURN_RESULT
- in file Serializer.php, constant XML_SERIALIZER_OPTION_RETURN_RESULT
option: whether to return the result of the serialization from serialize()
- XML_SERIALIZER_OPTION_ROOT_ATTRIBS
- in file Serializer.php, constant XML_SERIALIZER_OPTION_ROOT_ATTRIBS
option: attributes of the root tag
- XML_SERIALIZER_OPTION_ROOT_NAME
- in file Serializer.php, constant XML_SERIALIZER_OPTION_ROOT_NAME
option: name of the root tag
- XML_SERIALIZER_OPTION_SCALAR_AS_ATTRIBUTES
- in file Serializer.php, constant XML_SERIALIZER_OPTION_SCALAR_AS_ATTRIBUTES
option: scalar values (strings, ints,..) will be serialized as attribute
- XML_SERIALIZER_OPTION_TAGMAP
- in file Serializer.php, constant XML_SERIALIZER_OPTION_TAGMAP
option: tag names that will be changed
- XML_SERIALIZER_OPTION_TYPEHINTS
- in file Serializer.php, constant XML_SERIALIZER_OPTION_TYPEHINTS
option: enable type hints
- XML_SERIALIZER_OPTION_XML_DECL_ENABLED
- in file Serializer.php, constant XML_SERIALIZER_OPTION_XML_DECL_ENABLED
option: add an XML declaration
- XML_SERIALIZER_OPTION_XML_ENCODING
- in file Serializer.php, constant XML_SERIALIZER_OPTION_XML_ENCODING
option: encoding of the document
- XML_Unserializer
- in file Unserializer.php, method XML_Unserializer::XML_Unserializer()
constructor
- XML_Unserializer
- in file Unserializer.php, class XML_Unserializer
XML_Unserializer
- XML_UNSERIALIZER_ERROR_NO_UNSERIALIZATION
- in file Unserializer.php, constant XML_UNSERIALIZER_ERROR_NO_UNSERIALIZATION
error code for no serialization done
- XML_UNSERIALIZER_OPTION_ATTRIBUTES_ARRAYKEY
- in file Unserializer.php, constant XML_UNSERIALIZER_OPTION_ATTRIBUTES_ARRAYKEY
option: Key of the array to store attributes (if any)
- XML_UNSERIALIZER_OPTION_ATTRIBUTES_PARSE
- in file Unserializer.php, constant XML_UNSERIALIZER_OPTION_ATTRIBUTES_PARSE
option: Whether to parse attributes
- XML_UNSERIALIZER_OPTION_ATTRIBUTES_PREPEND
- in file Unserializer.php, constant XML_UNSERIALIZER_OPTION_ATTRIBUTES_PREPEND
option: string to prepend attribute name (if any)
- XML_UNSERIALIZER_OPTION_ATTRIBUTE_CLASS
- in file Unserializer.php, constant XML_UNSERIALIZER_OPTION_ATTRIBUTE_CLASS
option: Name of the attribute that stores the class name
- XML_UNSERIALIZER_OPTION_ATTRIBUTE_KEY
- in file Unserializer.php, constant XML_UNSERIALIZER_OPTION_ATTRIBUTE_KEY
option: Name of the attribute that stores the original key
- XML_UNSERIALIZER_OPTION_ATTRIBUTE_TYPE
- in file Unserializer.php, constant XML_UNSERIALIZER_OPTION_ATTRIBUTE_TYPE
option: Name of the attribute that stores the type
- XML_UNSERIALIZER_OPTION_COMPLEXTYPE
- in file Unserializer.php, constant XML_UNSERIALIZER_OPTION_COMPLEXTYPE
option: Convert nested tags to array or object
- XML_UNSERIALIZER_OPTION_CONTENT_KEY
- in file Unserializer.php, constant XML_UNSERIALIZER_OPTION_CONTENT_KEY
option: key to store the content, if XML_UNSERIALIZER_OPTION_ATTRIBUTES_PARSE is used
- XML_UNSERIALIZER_OPTION_DECODE_FUNC
- in file Unserializer.php, constant XML_UNSERIALIZER_OPTION_DECODE_FUNC
option: Callback that will be applied to textual data
- XML_UNSERIALIZER_OPTION_DEFAULT_CLASS
- in file Unserializer.php, constant XML_UNSERIALIZER_OPTION_DEFAULT_CLASS
option: Name of the default class
- XML_UNSERIALIZER_OPTION_ENCODING_SOURCE
- in file Unserializer.php, constant XML_UNSERIALIZER_OPTION_ENCODING_SOURCE
option: Encoding of the XML document
- XML_UNSERIALIZER_OPTION_ENCODING_TARGET
- in file Unserializer.php, constant XML_UNSERIALIZER_OPTION_ENCODING_TARGET
option: Desired target encoding of the data
- XML_UNSERIALIZER_OPTION_FORCE_ENUM
- in file Unserializer.php, constant XML_UNSERIALIZER_OPTION_FORCE_ENUM
option: list of tags that will always be enumerated
- XML_UNSERIALIZER_OPTION_GUESS_TYPES
- in file Unserializer.php, constant XML_UNSERIALIZER_OPTION_GUESS_TYPES
option: whether to use type guessing for scalar values
- XML_UNSERIALIZER_OPTION_IGNORE_KEYS
- in file Unserializer.php, constant XML_UNSERIALIZER_OPTION_IGNORE_KEYS
option: list of tags, that will not be used as keys
- XML_UNSERIALIZER_OPTION_OVERRIDE_OPTIONS
- in file Unserializer.php, constant XML_UNSERIALIZER_OPTION_OVERRIDE_OPTIONS
option: whether to ovverride all options that have been set before
- XML_UNSERIALIZER_OPTION_RETURN_RESULT
- in file Unserializer.php, constant XML_UNSERIALIZER_OPTION_RETURN_RESULT
option: whether to return the result of the unserialization from unserialize()
- XML_UNSERIALIZER_OPTION_TAG_AS_CLASSNAME
- in file Unserializer.php, constant XML_UNSERIALIZER_OPTION_TAG_AS_CLASSNAME
option: Whether to use the tag name as a class name
- XML_UNSERIALIZER_OPTION_TAG_MAP
- in file Unserializer.php, constant XML_UNSERIALIZER_OPTION_TAG_MAP
option: map tag names
- XML_UNSERIALIZER_OPTION_WHITESPACE
- in file Unserializer.php, constant XML_UNSERIALIZER_OPTION_WHITESPACE
option: set the whitespace behaviour
- XML_UNSERIALIZER_WHITESPACE_KEEP
- in file Unserializer.php, constant XML_UNSERIALIZER_WHITESPACE_KEEP
Keep all whitespace
- XML_UNSERIALIZER_WHITESPACE_NORMALIZE
- in file Unserializer.php, constant XML_UNSERIALIZER_WHITESPACE_NORMALIZE
normalize whitespace
- XML_UNSERIALIZER_WHITESPACE_TRIM
- in file Unserializer.php, constant XML_UNSERIALIZER_WHITESPACE_TRIM
remove whitespace from start and end of the data
top
Documentation generated on Mon, 11 Mar 2019 15:41:41 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|