|
| __construct ($errorCode=null, $reason=null, $invalidInput=null) |
|
| setErrorCode ($value) |
| Set the error code for this exception.
|
|
| getErrorCode () |
| Get the error code for this exception.
|
|
| setReason ($value) |
| Set human-readable text describing the reason this exception occurred.
|
|
| getReason () |
| Get human-readable text describing the reason this exception occurred.
|
|
| setInvalidInput ($value) |
| Set the invalid input which caused this exception.
|
|
| getInvalidInput () |
| Set the invalid input which caused this exception.
|
|
| getDOM ($doc=null, $majorVersion=1, $minorVersion=null) |
| Retrieves a DOMElement which corresponds to this element and all child properties.
|
|
| __toString () |
| Get a human readable version of this exception.
|
|
| __construct () |
|
| getText ($trim=true) |
| Returns the child text node of this element This represents any raw text contained within the XML element.
|
|
| setText ($value) |
| Sets the child text node of this element This represents any raw text contained within the XML element.
|
|
| getExtensionElements () |
| Returns an array of all elements not matched to data model classes during the parsing of the XML.
|
|
| setExtensionElements ($value) |
| Sets an array of all elements not matched to data model classes during the parsing of the XML.
|
|
| getExtensionAttributes () |
| Returns an array of all extension attributes not transformed into data model properties during parsing of the XML.
|
|
| setExtensionAttributes ($value) |
| Sets an array of all extension attributes not transformed into data model properties during parsing of the XML.
|
|
| getDOM ($doc=null, $majorVersion=1, $minorVersion=null) |
| Retrieves a DOMElement which corresponds to this element and all child properties.
|
|
| transferFromDOM ($node) |
| Transfers each child and attribute into member variables.
|
|
| transferFromXML ($xml) |
| Parses the provided XML text and generates data model classes for each know element by turning the XML text into a DOM tree and calling transferFromDOM($element).
|
|
| saveXML () |
| Converts this element and all children into XML text using getDOM()
|
|
| getXML () |
| Alias for saveXML() returns XML content for this element and all children.
|
|
| encode () |
| Alias for saveXML()
|
|
| lookupNamespace ($prefix, $majorVersion=1, $minorVersion=null) |
| Get the full version of a namespace prefix.
|
|
| registerNamespace ($prefix, $namespaceUri, $majorVersion=1, $minorVersion=0) |
| Add a namespace and prefix to the registered list.
|
|
| registerAllNamespaces ($namespaceArray) |
| Add an array of namespaces to the registered list.
|
|
| __get ($name) |
| Magic getter to allow access like $entry->foo to call $entry->getFoo() Alternatively, if no getFoo() is defined, but a $_foo protected variable is defined, this is returned.
|
|
| __set ($name, $val) |
| Magic setter to allow acces like $entry->foo='bar' to call $entry->setFoo('bar') automatically.
|
|
| __isset ($name) |
| Magic __isset method.
|
|
| __unset ($name) |
| Magic __unset method.
|
|
| __toString () |
| Magic toString method allows using this directly via echo Works best in PHP >= 4.2.0.
|
|
Get the error code for this exception.
Currently valid values are available as constants within this class. These values are:
UNKNOWN_ERROR (1000) USER_DELETED_RECENTLY (1100) USER_SUSPENDED (1101) DOMAIN_USER_LIMIT_EXCEEDED (1200) DOMAIN_ALIAS_LIMIT_EXCEEDED (1201) DOMAIN_SUSPENDED (1202) DOMAIN_FEATURE_UNAVAILABLE (1203) ENTITY_EXISTS (1300) ENTITY_DOES_NOT_EXIST (1301) ENTITY_NAME_IS_RESERVED (1302) ENTITY_NAME_NOT_VALID (1303) INVALID_GIVEN_NAME (1400) INVALID_FAMILY_NAME (1401) INVALID_PASSWORD (1402) INVALID_USERNAME (1403) INVALID_HASH_FUNCTION_NAME (1404) INVALID_HASH_DIGEST_LENGTH (1405) INVALID_EMAIL_ADDRESS (1406) INVALID_QUERY_PARAMETER_VALUE (1407) TOO_MANY_RECIPIENTS_ON_EMAIL_LIST (1500)
Numbers in parenthesis indicate the actual integer value of the constant. This list should not be treated as exhaustive, as additional error codes may be added at any time.
For more information about these codes and their meaning, please see Appendix D of the Google Apps Provisioning API Reference.
Google Apps Provisioning API Reference: Appendix D - Gdata Error Codes setErrorCode integer The error code returned by the Google Apps server.