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

List all error code for workflows class definition. More...

+ Collaboration diagram for ErrorCodeWFL:

Data Fields

const WFL0200 = 'workflow transition is not an array for class %s'
 
const WFL0201 = 'workflow transition unknow property %s for transition #%d in class %s (must be one of %s)'
 
const WFL0202 = 'workflow transition #%d property \'t\' is mandatory in class %s'
 
const WFL0203 = "workflow transition element at index %d must be an array in class %s (found %s instead)"
 
const WFL0100 = 'workflow transition model is not an array for class %s'
 
const WFL0101 = 'workflow transition unknow property %s for transition model %s in class %s (must be one of %s)'
 
const WFL0102 = 'workflow %s number of transition model and states (found %d) exceed limit (max is %s)'
 
const WFL0103 = 'workflow transition ask is not an array for transition model %s in class %s'
 
const WFL0104 = 'unknow attribute %s in workflow transition ask in class %s'
 
const WFL0105 = 'workflow unknow m1 method %s for transition model %s in class %s'
 
const WFL0106 = 'workflow unknow m2 method %s for transition model %s in class %s'
 
const WFL0107 = 'workflow transition nr property is not a boolean for transition model %s in class %s'
 
const WFL0108 = 'workflow unknow m0 method %s for transition model %s in class %s'
 
const WFL0109 = 'workflow unknow m3 method %s for transition model %s in class %s'
 
const WFL0110 = "transition element with key '%s' (index %d) must be an array in class %s (found %s instead)"
 
const WFL0050 = 'workflow transition or state key %s syntax error for %s (limit to %d alpha characters)'
 
const WFL0001 = 'workflow class name is empty'
 
const WFL0002 = 'class name %s not valid'
 
const WFL0003 = 'PHP parsing %s'
 
const WFL0004 = 'workflow class %s not found'
 
const WFL0005 = 'file name "%s" for %s not found'
 
const WFL0006 = 'workflow class %s not inherit from WDoc class'
 
const WFL0007 = 'workflow : missing attrPrefix definition for %s class'
 
const WFL0008 = 'workflow : syntax error attrPrefix for %s class (limit to 15 alpha characters)'
 
const WFL0051 = 'workflow activies labels is not an array for class %s'
 
const WFL0052 = 'unknow state %s for the activity %s for class %s'
 

Detailed Description

List all error code for workflows class definition.

Errors code used to checking workflows

See Also
ErrorCode

Definition at line 12 of file ErrorCodeWFL.php.

Field Documentation

const WFL0001 = 'workflow class name is empty'
Error code:
if family is declared as workflow, classname field is required

Definition at line 121 of file ErrorCodeWFL.php.

const WFL0002 = 'class name %s not valid'
Error code:
the name of a workflow class must be a valid PHP name class

Definition at line 126 of file ErrorCodeWFL.php.

const WFL0003 = 'PHP parsing %s'
Error code:
PHP file is not valid

Definition at line 131 of file ErrorCodeWFL.php.

const WFL0004 = 'workflow class %s not found'
Error code:
cannot find a class named as it is needed by workflow

Definition at line 136 of file ErrorCodeWFL.php.

const WFL0005 = 'file name "%s" for %s not found'
Error code:
the file of the workflow PHP class is not found

Definition at line 141 of file ErrorCodeWFL.php.

const WFL0006 = 'workflow class %s not inherit from WDoc class'
Error code:
the workflow class must be a descendant of WDoc class

Definition at line 146 of file ErrorCodeWFL.php.

const WFL0007 = 'workflow : missing attrPrefix definition for %s class'
Error code:
the attrPrefix must not be empty

Definition at line 151 of file ErrorCodeWFL.php.

const WFL0008 = 'workflow : syntax error attrPrefix for %s class (limit to 15 alpha characters)'
Error code:
the attrPrefix must be composed of just few characters

Definition at line 156 of file ErrorCodeWFL.php.

const WFL0050 = 'workflow transition or state key %s syntax error for %s (limit to %d alpha characters)'
Error code:

Definition at line 116 of file ErrorCodeWFL.php.

const WFL0051 = 'workflow activies labels is not an array for class %s'
Error code:
activies label is not an array

Definition at line 161 of file ErrorCodeWFL.php.

const WFL0052 = 'unknow state %s for the activity %s for class %s'
Error code:
activies label not match any state

Definition at line 166 of file ErrorCodeWFL.php.

const WFL0100 = 'workflow transition model is not an array for class %s'
Error code:
transition are declared in a an array
public $transitions = array(
self::T1 => array(
"m1" => "SendMailToVeto",
"ask" => array(
"wan_idveto",
"wan_veto"
) ,
"nr" => true
) ,

Definition at line 49 of file ErrorCodeWFL.php.

const WFL0101 = 'workflow transition unknow property %s for transition model %s in class %s (must be one of %s)'
Error code:
field use for transition declaration must be valid

Definition at line 54 of file ErrorCodeWFL.php.

const WFL0102 = 'workflow %s number of transition model and states (found %d) exceed limit (max is %s)'
Error code:
number of transition model and states are limited Considers that you have 1500 points to determine transition and states. a transition cost 4 points and a state 12 points. generally you could have around 200 transitions for 60 states

Definition at line 62 of file ErrorCodeWFL.php.

const WFL0103 = 'workflow transition ask is not an array for transition model %s in class %s'
Error code:
declaration of ask must be in an array
public $transitions = array(
self::T1 => array(
"ask" => array(
"wan_idveto",
"wan_veto"
)
) ,

Definition at line 76 of file ErrorCodeWFL.php.

const WFL0104 = 'unknow attribute %s in workflow transition ask in class %s'
Error code:
ask array must reference workflow attributes

Definition at line 81 of file ErrorCodeWFL.php.

const WFL0105 = 'workflow unknow m1 method %s for transition model %s in class %s'
Error code:
m1 property must be a worflow method

Definition at line 86 of file ErrorCodeWFL.php.

const WFL0106 = 'workflow unknow m2 method %s for transition model %s in class %s'
Error code:
m2 property must be a worflow method

Definition at line 91 of file ErrorCodeWFL.php.

const WFL0107 = 'workflow transition nr property is not a boolean for transition model %s in class %s'
Error code:
nr property is a boolean

Definition at line 96 of file ErrorCodeWFL.php.

const WFL0108 = 'workflow unknow m0 method %s for transition model %s in class %s'
Error code:
m0 property must be a worflow method

Definition at line 101 of file ErrorCodeWFL.php.

const WFL0109 = 'workflow unknow m3 method %s for transition model %s in class %s'
Error code:
m3 property must be a worflow method

Definition at line 106 of file ErrorCodeWFL.php.

const WFL0110 = "transition element with key '%s' (index %d) must be an array in class %s (found %s instead)"
Error code:
The transition element must have a key and an array() value

Definition at line 111 of file ErrorCodeWFL.php.

const WFL0200 = 'workflow transition is not an array for class %s'
Error code:
transition declaration must be an array

Definition at line 18 of file ErrorCodeWFL.php.

const WFL0201 = 'workflow transition unknow property %s for transition #%d in class %s (must be one of %s)'
Error code:
transition declaration must be an array

Definition at line 23 of file ErrorCodeWFL.php.

const WFL0202 = 'workflow transition #%d property \'t\' is mandatory in class %s'
Error code:
the model transition is required to declare a transition

Definition at line 28 of file ErrorCodeWFL.php.

const WFL0203 = "workflow transition element at index %d must be an array in class %s (found %s instead)"
Error code:
The element of the $cycle must be an array()

Definition at line 33 of file ErrorCodeWFL.php.


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