Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
ErrorCodeVALUE Class Reference

List all error code used when use setAttrbuteValue. More...

+ Collaboration diagram for ErrorCodeVALUE:

Data Fields

const VALUE0001 = 'attribute "%s", (family "%s", document "%s") : set internal value error : "%s"'
 
const VALUE0002 = 'value "%s" must be an array to set attribute "%s", (family "%s", document "%s")'
 
const VALUE0003 = 'each values of a multiple in array "%s" must be an array to set attribute "%s", (family "%s", document "%s")'
 
const VALUE0004 = 'attribute "%s" is not defined for document "%s" (family "%s") : update aborted'
 
const VALUE0005 = 'attribute "%s", (family "%s", document "%s") : set value error : "%s"'
 
const VALUE0006 = 'attribute "%s", (family "%s", document "%s") : cannot set single attribute with an array "%s"'
 
const VALUE0007 = 'attribute "%s", (family "%s", document "%s") : cannot update array "%s"'
 
const VALUE0008 = 'attribute "%s", (family "%s", document "%s") : array value is requires to set array attribute "%s"'
 
const VALUE0009 = 'attribute "%s", (family "%s", document "%s") : a row is not an array. Cannot update array "%s"'
 
const VALUE0200 = 'a int attribute value must be a int type or a string. Found "%s" (%s).'
 
const VALUE0201 = 'a double attribute value must be a double or int type or a string. Found "%s" (%s).'
 
const VALUE0202 = 'a attribute value must not be an object. Found "%s" (%s).'
 
const VALUE0100 = 'attribute "%s" is not an array in document "%s" (family "%s") : cannot use array value'
 
const VALUE0101 = 'attribute "%s" is not defined for document "%s" (family "%s")'
 

Detailed Description

List all error code used when use setAttrbuteValue.

Error codes used to checking family attribute structure

See Also
ErrorCode
Doc::setAttributeValue()

Definition at line 14 of file ErrorCodeVALUE.php.

Field Documentation

const VALUE0001 = 'attribute "%s", (family "%s", document "%s") : set internal value error : "%s"'
Error code:
value cannot be used to modify document attribute - detected in internal Doc::setValue

Definition at line 19 of file ErrorCodeVALUE.php.

const VALUE0002 = 'value "%s" must be an array to set attribute "%s", (family "%s", document "%s")'
Error code:
for multiple attribute only array values can be set

Definition at line 23 of file ErrorCodeVALUE.php.

const VALUE0003 = 'each values of a multiple in array "%s" must be an array to set attribute "%s", (family "%s", document "%s")'
Error code:
for multiple attribute which are in array only array values can be set : combine option "multiple=yes" and in array

Definition at line 27 of file ErrorCodeVALUE.php.

const VALUE0004 = 'attribute "%s" is not defined for document "%s" (family "%s") : update aborted'
Error code:
the attribute is not a part of document
See Also
Doc::setAttributeValue

Definition at line 32 of file ErrorCodeVALUE.php.

const VALUE0005 = 'attribute "%s", (family "%s", document "%s") : set value error : "%s"'
Error code:
a int attribute must containt int value
See Also
Doc::setAttributeValue

Definition at line 38 of file ErrorCodeVALUE.php.

const VALUE0006 = 'attribute "%s", (family "%s", document "%s") : cannot set single attribute with an array "%s"'
Error code:
a non multiple attribute cannot has an array value
See Also
Doc::setAttributeValue

Definition at line 44 of file ErrorCodeVALUE.php.

const VALUE0007 = 'attribute "%s", (family "%s", document "%s") : cannot update array "%s"'
Error code:
error during set a complete array
See Also
Doc::setAttributeValue

Definition at line 50 of file ErrorCodeVALUE.php.

const VALUE0008 = 'attribute "%s", (family "%s", document "%s") : array value is requires to set array attribute "%s"'
Error code:
only array values must be used to set a complete array
See Also
Doc::setAttributeValue

Definition at line 56 of file ErrorCodeVALUE.php.

const VALUE0009 = 'attribute "%s", (family "%s", document "%s") : a row is not an array. Cannot update array "%s"'
Error code:
error during set a complete array. Each row must be an array
See Also
Doc::setAttributeValue

Definition at line 62 of file ErrorCodeVALUE.php.

const VALUE0100 = 'attribute "%s" is not an array in document "%s" (family "%s") : cannot use array value'
Error code:
the attribute be an array
See Also
Doc::getAttributeValue

Definition at line 88 of file ErrorCodeVALUE.php.

const VALUE0101 = 'attribute "%s" is not defined for document "%s" (family "%s")'
Error code:
the attribute is not a part of document
See Also
Doc::getAttributeValue

Definition at line 94 of file ErrorCodeVALUE.php.

const VALUE0200 = 'a int attribute value must be a int type or a string. Found "%s" (%s).'
Error code:
a int attribute must containt int value
See Also
Doc::setAttributeValue

Definition at line 69 of file ErrorCodeVALUE.php.

const VALUE0201 = 'a double attribute value must be a double or int type or a string. Found "%s" (%s).'
Error code:
a double attribute must containt double or int value
See Also
Doc::setAttributeValue

Definition at line 75 of file ErrorCodeVALUE.php.

const VALUE0202 = 'a attribute value must not be an object. Found "%s" (%s).'
Error code:
only scalar type can be used for
See Also
Doc::setAttributeValue

Definition at line 81 of file ErrorCodeVALUE.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen