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

List all error code for document's attribute errors It is triggered by 'ATTR', 'PARAM', 'MODATTR' keywords. More...

+ Collaboration diagram for ErrorCodeATTR:

Data Fields

const ATTR0100 = 'syntax error for attribute "%s"'
 
const ATTR0101 = 'attribute identifier "%s" use a reserved word'
 
const ATTR0102 = 'attribute identifier is not set'
 
const ATTR0103 = 'attribute identifier "%s" use a property identificator'
 
const ATTR0200 = 'syntax error for structure "%s" attribute "%s"'
 
const ATTR0201 = 'attribute structure is not set for attribute "%s"'
 
const ATTR0202 = 'attribute structure is same as attribute "%s"'
 
const ATTR0203 = 'attribute structure reference is not an attribute for "%s", family "%s"'
 
const ATTR0204 = 'attribute structure "%s" is not possible for "%s"'
 
const ATTR0205 = 'this attribute structure "%s" is not a allowed for normal attribute"%s"'
 
const ATTR0206 = 'attribute structure "%s" is forbidden for a tab attribute for "%s"'
 
const ATTR0207 = 'this attribute structure "%s" is not a allowed for frame attribute "%s"'
 
const ATTR0208 = 'param structure reference is not a parameter for "%s", family "%s"'
 
const ATTR0209 = 'parameter structure "%s" is not possible for "%s"'
 
const ATTR0210 = 'this parameter structure "%s" is not a allowed for parameter"%s"'
 
const ATTR0211 = 'parameter "%s" must not have a phpfunc with output variables'
 
const ATTR0212 = 'the attribute "%s" has incorrect order : "%s" (must be numeric or reference an attribute)'
 
const ATTR0213 = 'the attribute "%s" has incorrect order : parent is "%s" must be "%s": out of field'
 
const ATTR0214 = 'the attribute "%s" has a loop reference for parent '
 
const ATTR0400 = 'invalid value "%s" for isTitle in attribute "%s"'
 
const ATTR0401 = 'isTitle cannot be set for structured attribute "%s"'
 
const ATTR0500 = 'invalid value "%s" for isAbstract in attribute "%s"'
 
const ATTR0501 = 'isAbstract cannot be set for structured attribute "%s"'
 
const ATTR0600 = 'type is not defined for attribute "%s"'
 
const ATTR0601 = 'unrecognized attribute type "%s" (attribute "%s"), type is one of %s'
 
const ATTR0602 = 'syntax error for type "%s" in attribute "%s"'
 
const ATTR0603 = 'bad output format "%s" in attribute "%s" '
 
const ATTR0604 = 'incompatible redefinition of type for "%s" attribute (family "%s"). New type "%s" is not compatible with origin "%s"'
 
const ATTR0605 = 'attribute modification for "%s" attribute (family "%s") is not found in ancestor'
 
const ATTR0606 = 'enum attribute modification for "%s" attribute (family "%s"): the enum items cannot be redefined'
 
const ATTR0700 = 'the order "%s" must be a number or an attribute reference in attribute "%s"'
 
const ATTR0702 = 'the order is required in attribute "%s"'
 
const ATTR0800 = 'the visibility is required in attribute "%s"'
 
const ATTR0801 = 'the visibility "%s" in attribute "%s" must be one of %s'
 
const ATTR0802 = 'the U visibility is reserved to array, in attribute "%s"'
 
const ATTR0900 = 'invalid value "%s" for isNeeded in attribute "%s"'
 
const ATTR0901 = 'isNeeded cannot be set for structured attribute "%s"'
 
const ATTR0902 = 'isNeeded cannot be set for attribute included in array "%s"'
 
const ATTR0903 = 'isNeeded cannot be set for parameter included in array "%s"'
 
const ATTR1000 = 'method syntax error in link "%s" for attribute "%s":%s'
 
const ATTR1001 = 'link method error in "%s" family : %s'
 
const ATTR1002 = 'method "%s" in attribute link "%s" is not an exposable method'
 
const ATTR1100 = 'the input help file "%s" not exists, in attribute "%s"'
 
const ATTR1101 = 'the input help file "%s" is not parsable, in attribute "%s" : %s'
 
const ATTR1500 = 'the option name "%s" is not valid in attribute "%s"'
 
const ATTR1501 = 'the option "%s" must have = sign, in attribute "%s"'
 
const ATTR1200 = 'syntax error in phpfunc attribute "%s" : %s'
 
const ATTR1201 = 'error parenthesis in method/file definition : "%s"'
 
const ATTR1202 = 'syntax error in function name : "%s"'
 
const ATTR1203 = 'function "%s" not exists'
 
const ATTR1204 = 'double quote syntax error (character %d) in function "%s"'
 
const ATTR1205 = 'simple quote syntax error (character %d) in function "%s"'
 
const ATTR1206 = 'no output attribute, missing ":" character in function "%s"'
 
const ATTR1207 = 'outputs in function "%s" can be only alphanum characters '
 
const ATTR1208 = 'appname in special help can be only alphanum characters'
 
const ATTR1209 = 'function "%s" is an internal php function'
 
const ATTR1210 = 'function "%s" is not defined in "%s" file'
 
const ATTR1211 = 'not enough argument call to use function "%s" (need %d arguments)'
 
const ATTR1212 = 'unknow output attribut for method "%s" in family "%s"'
 
const ATTR1250 = 'syntax error in method call (phpfunc) for attribute "%s" : %s'
 
const ATTR1251 = 'no "::" delimiter in method call "%s"'
 
const ATTR1252 = 'syntax error in method name : "%s"'
 
const ATTR1253 = 'syntax error in class name in method call: "%s"'
 
const ATTR1254 = 'only one output is possible in method "%s"'
 
const ATTR1255 = 'no output is possible in method "%s"'
 
const ATTR1260 = 'method "%s" (context : "%s") is not found for "%s" attribute'
 
const ATTR1261 = 'not enough argument call to use method "%s" (context "%s", need %d arguments) for "%s" attribute'
 
const ATTR1262 = 'syntax error in method "%s" phpfunc for "%s" attribute : %s'
 
const ATTR1263 = 'method "%s" (context : "%s") is not static phpfunc for "%s" attribute'
 
const ATTR1265 = 'phpfunc method error in "%s" family : %s'
 
const ATTR1266 = 'method "%s" (context "%s" defined in parent family "%s") is not found for "%s" attribute'
 
const ATTR1270 = 'syntax error in enum declaration near "%s" for "%s" attribute'
 
const ATTR1271 = 'key must not have accent characters in enum declaration "%s" for "%s" attribute'
 
const ATTR1272 = 'key must not be empty in enum declaration "%s" for "%s" attribute'
 
const ATTR1400 = 'syntax error in constraint call for attribute "%s" : %s'
 
const ATTR1401 = 'not enough argument call to use constraint "%s" (need %d arguments, given %d) for "%s" attribute'
 
const ATTR1402 = 'constraint method "%s" is not found for "%s" attribute'
 
const ATTR1403 = 'method "%s" is not static phpfunc for "%s" attribute'
 
const ATTR1404 = 'syntax error in constraint "%s" for "%s" attribute : %s'
 
const ATTR1700 = 'database document column are erronous : %s'
 
const ATTR1701 = 'too many attributes : %d (maximum sql column is %d)'
 
const ATTR1800 = "value of attribute \"%s\" with phpfunc \"%s\" will not be computed because visibility is \"I\"."
 

Detailed Description

List all error code for document's attribute errors It is triggered by 'ATTR', 'PARAM', 'MODATTR' keywords.

Error codes used to checking family attribute structure

See Also
ErrorCode

Definition at line 13 of file ErrorCodeATTR.php.

Field Documentation

const ATTR0100 = 'syntax error for attribute "%s"'
Error code:
Attribute identicator is limit to 63 alphanum characters

Definition at line 18 of file ErrorCodeATTR.php.

const ATTR0101 = 'attribute identifier "%s" use a reserved word'
Error code:
Attribute identifier cannot be equal to a reserved postgresql word

Definition at line 22 of file ErrorCodeATTR.php.

const ATTR0102 = 'attribute identifier is not set'
Error code:
Attribute identifier is required

Definition at line 26 of file ErrorCodeATTR.php.

const ATTR0103 = 'attribute identifier "%s" use a property identificator'
Error code:
Attribute identifier cannot be equal to a doc properties name

Definition at line 30 of file ErrorCodeATTR.php.

const ATTR0200 = 'syntax error for structure "%s" attribute "%s"'
Error code:
Attribute identicator is limit to 63 alphanum characters

Definition at line 34 of file ErrorCodeATTR.php.

const ATTR0201 = 'attribute structure is not set for attribute "%s"'
Error code:
Attribute structure identifier is required

Definition at line 38 of file ErrorCodeATTR.php.

const ATTR0202 = 'attribute structure is same as attribute "%s"'
Error code:
Attribute structure must reference other attribute

Definition at line 42 of file ErrorCodeATTR.php.

const ATTR0203 = 'attribute structure reference is not an attribute for "%s", family "%s"'
Error code:
Attribute structure must reference an attribute

Definition at line 46 of file ErrorCodeATTR.php.

const ATTR0204 = 'attribute structure "%s" is not possible for "%s"'
Error code:
Attribute structure must compatible with level hierarchy
Note
a tab has no parent, a frame must have only tab parent, another attribute must have only frame parent or array parent

Definition at line 53 of file ErrorCodeATTR.php.

const ATTR0205 = 'this attribute structure "%s" is not a allowed for normal attribute"%s"'
Error code:
Attribute structure must reference a frame or array attribute for normal attribute

Definition at line 57 of file ErrorCodeATTR.php.

const ATTR0206 = 'attribute structure "%s" is forbidden for a tab attribute for "%s"'
Error code:
Attribute structure must be empty for tab attribute

Definition at line 61 of file ErrorCodeATTR.php.

const ATTR0207 = 'this attribute structure "%s" is not a allowed for frame attribute "%s"'
Error code:
Attribute structure must reference a tab attribute or nothing

Definition at line 65 of file ErrorCodeATTR.php.

const ATTR0208 = 'param structure reference is not a parameter for "%s", family "%s"'
Error code:
Parameter structure must reference a parameter

Definition at line 69 of file ErrorCodeATTR.php.

const ATTR0209 = 'parameter structure "%s" is not possible for "%s"'
Error code:
Parameter structure must compatible with level hierarchy
Note
a tab has no parent, a frame must have only tab parent, another parameter must have only frame parent or array parent

Definition at line 76 of file ErrorCodeATTR.php.

const ATTR0210 = 'this parameter structure "%s" is not a allowed for parameter"%s"'
Error code:
Parameter structure must reference a frame or array parameter for parameter

Definition at line 80 of file ErrorCodeATTR.php.

const ATTR0211 = 'parameter "%s" must not have a phpfunc with output variables'
Error code:

Definition at line 84 of file ErrorCodeATTR.php.

const ATTR0212 = 'the attribute "%s" has incorrect order : "%s" (must be numeric or reference an attribute)'
Error code:
Attribute order must reference an attribute family

Definition at line 88 of file ErrorCodeATTR.php.

const ATTR0213 = 'the attribute "%s" has incorrect order : parent is "%s" must be "%s": out of field'
Error code:
Attribute order reference is not in the current frame

Definition at line 92 of file ErrorCodeATTR.php.

const ATTR0214 = 'the attribute "%s" has a loop reference for parent '
Error code:
A parent id reference a child id

Definition at line 97 of file ErrorCodeATTR.php.

const ATTR0400 = 'invalid value "%s" for isTitle in attribute "%s"'
Error code:
Attribute isTitle is Y or N

Definition at line 101 of file ErrorCodeATTR.php.

const ATTR0401 = 'isTitle cannot be set for structured attribute "%s"'
Error code:
Attribute isTitle must not be Y for structured attributes

Definition at line 105 of file ErrorCodeATTR.php.

const ATTR0500 = 'invalid value "%s" for isAbstract in attribute "%s"'
Error code:
Attribute isAbstract is Y or N

Definition at line 109 of file ErrorCodeATTR.php.

const ATTR0501 = 'isAbstract cannot be set for structured attribute "%s"'
Error code:
Attribute isAbstract must not be Y for structured attributes

Definition at line 113 of file ErrorCodeATTR.php.

const ATTR0600 = 'type is not defined for attribute "%s"'
Error code:
Attribute type is required

Definition at line 117 of file ErrorCodeATTR.php.

const ATTR0601 = 'unrecognized attribute type "%s" (attribute "%s"), type is one of %s'
Error code:
Attribute type is not available

Definition at line 121 of file ErrorCodeATTR.php.

const ATTR0602 = 'syntax error for type "%s" in attribute "%s"'
Error code:
a type is can be only a alpha characters example text, double, money("%.02f $")

Definition at line 126 of file ErrorCodeATTR.php.

const ATTR0603 = 'bad output format "%s" in attribute "%s" '
Error code:
the format string must contains only one s variable

Definition at line 130 of file ErrorCodeATTR.php.

const ATTR0604 = 'incompatible redefinition of type for "%s" attribute (family "%s"). New type "%s" is not compatible with origin "%s"'
Error code:
the basic type set in a MODATTR cannot be changed

Definition at line 134 of file ErrorCodeATTR.php.

const ATTR0605 = 'attribute modification for "%s" attribute (family "%s") is not found in ancestor'
Error code:
a MODATTR attribute is not defined in its ancestor Cannot modify an attribute which has not defined before

Definition at line 139 of file ErrorCodeATTR.php.

const ATTR0606 = 'enum attribute modification for "%s" attribute (family "%s"): the enum items cannot be redefined'
Error code:
a enum MODATTR attribute cannot redefine its items If need redefine, a ATTR must be used (not a MODATTR) to redefine the attribut and cut inheritance

Definition at line 144 of file ErrorCodeATTR.php.

const ATTR0700 = 'the order "%s" must be a number or an attribute reference in attribute "%s"'
Error code:
The attribute's order must be a number or an attribute id reference

Definition at line 148 of file ErrorCodeATTR.php.

const ATTR0702 = 'the order is required in attribute "%s"'
Error code:
The attribute's order is required when attribute is not a frame or a tab

Definition at line 152 of file ErrorCodeATTR.php.

const ATTR0800 = 'the visibility is required in attribute "%s"'
Error code:
The attribute's visibility must be defined

Definition at line 156 of file ErrorCodeATTR.php.

const ATTR0801 = 'the visibility "%s" in attribute "%s" must be one of %s'
Error code:
The attribute's visibility is limited to defined visibilities (H,R,...)

Definition at line 160 of file ErrorCodeATTR.php.

const ATTR0802 = 'the U visibility is reserved to array, in attribute "%s"'
Error code:
The U visibility can be applied only on array attribute

Definition at line 164 of file ErrorCodeATTR.php.

const ATTR0900 = 'invalid value "%s" for isNeeded in attribute "%s"'
Error code:
property isNeeded is Y or N

Definition at line 168 of file ErrorCodeATTR.php.

const ATTR0901 = 'isNeeded cannot be set for structured attribute "%s"'
Error code:
property isNeeded must not be Y for structured attributes

Definition at line 172 of file ErrorCodeATTR.php.

const ATTR0902 = 'isNeeded cannot be set for attribute included in array "%s"'
Error code:
property isNeeded cannot be used when attribute is included in an array

Definition at line 176 of file ErrorCodeATTR.php.

const ATTR0903 = 'isNeeded cannot be set for parameter included in array "%s"'
Error code:
property isNeeded cannot be used when parameter is included in an array

Definition at line 180 of file ErrorCodeATTR.php.

const ATTR1000 = 'method syntax error in link "%s" for attribute "%s":%s'
Error code:
syntaxt error in method describe in link

Definition at line 184 of file ErrorCodeATTR.php.

const ATTR1001 = 'link method error in "%s" family : %s'
Error code:
call method in link property must be defined in file method or in another class if precised
See Also
ATTR1260
ATTR1261
ATTR1262
ATTR1263

Definition at line 192 of file ErrorCodeATTR.php.

const ATTR1002 = 'method "%s" in attribute link "%s" is not an exposable method'
Error code:
Method use in link must have
Api expose:
tag comment in their description

Definition at line 196 of file ErrorCodeATTR.php.

const ATTR1100 = 'the input help file "%s" not exists, in attribute "%s"'
Error code:
The input help file must exists before declared it

Definition at line 200 of file ErrorCodeATTR.php.

const ATTR1101 = 'the input help file "%s" is not parsable, in attribute "%s" : %s'
Error code:
The input help file must be a correct PHP file

Definition at line 204 of file ErrorCodeATTR.php.

const ATTR1200 = 'syntax error in phpfunc attribute "%s" : %s'
Error code:
the phpfunc must be a call to a valid function or method

Definition at line 217 of file ErrorCodeATTR.php.

const ATTR1201 = 'error parenthesis in method/file definition : "%s"'
Error code:
function must have 2 parenthesis one open and one close

Definition at line 221 of file ErrorCodeATTR.php.

const ATTR1202 = 'syntax error in function name : "%s"'
Error code:
function name must be a valid PHP name

Definition at line 225 of file ErrorCodeATTR.php.

const ATTR1203 = 'function "%s" not exists'
Error code:
function name must exists

Definition at line 229 of file ErrorCodeATTR.php.

const ATTR1204 = 'double quote syntax error (character %d) in function "%s"'
Error code:
double quote error in function call

Definition at line 233 of file ErrorCodeATTR.php.

const ATTR1205 = 'simple quote syntax error (character %d) in function "%s"'
Error code:
simple quote error in function call

Definition at line 237 of file ErrorCodeATTR.php.

const ATTR1206 = 'no output attribute, missing ":" character in function "%s"'
Error code:
output attributes must be declared after semicolumn characters
Note
example : test():MY_TEST1, MY_TEST2

Definition at line 243 of file ErrorCodeATTR.php.

const ATTR1207 = 'outputs in function "%s" can be only alphanum characters '
Error code:
output attributes must represent attribute name with a comma separator
Note
example :test():MY_TEST1, MY_TEST2 test(My_TEST2):MY_TEST1

Definition at line 250 of file ErrorCodeATTR.php.

const ATTR1208 = 'appname in special help can be only alphanum characters'
Error code:
appname must be only alphanum characters
Note
when use special help as help input

Definition at line 255 of file ErrorCodeATTR.php.

const ATTR1209 = 'function "%s" is an internal php function'
Error code:
input help can use only user function

Definition at line 259 of file ErrorCodeATTR.php.

const ATTR1210 = 'function "%s" is not defined in "%s" file'
Error code:
input help must be defined in declared file

Definition at line 263 of file ErrorCodeATTR.php.

const ATTR1211 = 'not enough argument call to use function "%s" (need %d arguments)'
Error code:
the called function need more arguments

Definition at line 267 of file ErrorCodeATTR.php.

const ATTR1212 = 'unknow output attribut for method "%s" in family "%s"'
Error code:
the method use for computed must declarer an existed attribute
Note
triggered in Doc::specRefreshGen()

Definition at line 272 of file ErrorCodeATTR.php.

const ATTR1250 = 'syntax error in method call (phpfunc) for attribute "%s" : %s'
Error code:
declaration of call method is not correct
Note
example : ::test() or myClass::test()

Definition at line 277 of file ErrorCodeATTR.php.

const ATTR1251 = 'no "::" delimiter in method call "%s"'
Error code:
call of a method mudt contains '::' characters
Note
example : ::test() or myClass::test()

Definition at line 282 of file ErrorCodeATTR.php.

const ATTR1252 = 'syntax error in method name : "%s"'
Error code:
method name must be a valid PHP name

Definition at line 286 of file ErrorCodeATTR.php.

const ATTR1253 = 'syntax error in class name in method call: "%s"'
Error code:
method name must be a valid PHP class name

Definition at line 290 of file ErrorCodeATTR.php.

const ATTR1254 = 'only one output is possible in method "%s"'
Error code:
call method can be return only one value
Note
example : ::test():MY_RET

Definition at line 295 of file ErrorCodeATTR.php.

const ATTR1255 = 'no output is possible in method "%s"'
Error code:
generally when it is in constraint attribute

Definition at line 299 of file ErrorCodeATTR.php.

const ATTR1260 = 'method "%s" (context : "%s") is not found for "%s" attribute'
Error code:
call method in phpfunc property must be defined in file method or in another class if precised

Definition at line 303 of file ErrorCodeATTR.php.

const ATTR1261 = 'not enough argument call to use method "%s" (context "%s", need %d arguments) for "%s" attribute'
Error code:
call method require more arguments

Definition at line 307 of file ErrorCodeATTR.php.

const ATTR1262 = 'syntax error in method "%s" phpfunc for "%s" attribute : %s'
Error code:
the phpfunc is not correct generally detected on inherited attributes

Definition at line 311 of file ErrorCodeATTR.php.

const ATTR1263 = 'method "%s" (context : "%s") is not static phpfunc for "%s" attribute'
Error code:
the phpfunc method must be static if a classname is set
Note
example : myClass::myStaticMethod()

Definition at line 316 of file ErrorCodeATTR.php.

const ATTR1265 = 'phpfunc method error in "%s" family : %s'
Error code:
call method in phpfunc property must be defined in file method or in another class if precised
See Also
ATTR1260
ATTR1261
ATTR1262
ATTR1263

Definition at line 324 of file ErrorCodeATTR.php.

const ATTR1266 = 'method "%s" (context "%s" defined in parent family "%s") is not found for "%s" attribute'
Error code:
call method in phpfunc property must be defined in file method or in another class if precised

Definition at line 328 of file ErrorCodeATTR.php.

const ATTR1270 = 'syntax error in enum declaration near "%s" for "%s" attribute'
Error code:
enum declaration must be a set of key value
Note
example : yellow|Yellow color,red|Red color

Definition at line 333 of file ErrorCodeATTR.php.

const ATTR1271 = 'key must not have accent characters in enum declaration "%s" for "%s" attribute'
Error code:
the enum key must be a simple word without accent
Note
example : yellow|Yellow color,red|Red color

Definition at line 338 of file ErrorCodeATTR.php.

const ATTR1272 = 'key must not be empty in enum declaration "%s" for "%s" attribute'
Error code:
the enum key is required
Note
example : yellow|Yellow color,red|Red color

Definition at line 343 of file ErrorCodeATTR.php.

const ATTR1400 = 'syntax error in constraint call for attribute "%s" : %s'
Error code:
declaration of call constraint is not correct
Note
example : ::isInteger(MY_ATTR) or myClass::isSpecial(MY_ATTR)

Definition at line 348 of file ErrorCodeATTR.php.

const ATTR1401 = 'not enough argument call to use constraint "%s" (need %d arguments, given %d) for "%s" attribute'
Error code:
call method in constraint require more arguments

Definition at line 352 of file ErrorCodeATTR.php.

const ATTR1402 = 'constraint method "%s" is not found for "%s" attribute'
Error code:
call constraint method must be defined in file method or in another class if precised

Definition at line 356 of file ErrorCodeATTR.php.

const ATTR1403 = 'method "%s" is not static phpfunc for "%s" attribute'
Error code:
the phpfunc method must be static if a classname is set
Note
example : myClass::myStaticMethod()

Definition at line 361 of file ErrorCodeATTR.php.

const ATTR1404 = 'syntax error in constraint "%s" for "%s" attribute : %s'
Error code:
the constraint is not correct generally detected on inherited attributes

Definition at line 365 of file ErrorCodeATTR.php.

const ATTR1500 = 'the option name "%s" is not valid in attribute "%s"'
Error code:
The option name are composed only of alpha characters

Definition at line 208 of file ErrorCodeATTR.php.

const ATTR1501 = 'the option "%s" must have = sign, in attribute "%s"'
Error code:
The syntax option is : optname=optvalue
Note
example : elabel=enter a value

Definition at line 213 of file ErrorCodeATTR.php.

const ATTR1700 = 'database document column are erronous : %s'
Error code:
database type are incompatible with attribute type declaration

Definition at line 369 of file ErrorCodeATTR.php.

const ATTR1701 = 'too many attributes : %d (maximum sql column is %d)'
Error code:
due to postgresql limit, sql column number is limited
Note
declaration for an attribute can create more than one sql column

Definition at line 374 of file ErrorCodeATTR.php.

const ATTR1800 = "value of attribute \"%s\" with phpfunc \"%s\" will not be computed because visibility is \"I\"."
Error code:
The value of the attribute will not be computed because the visibility is 'I'

Definition at line 378 of file ErrorCodeATTR.php.


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