Core
3.2
PHP API documentation
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
Class.WTestImp1.php
Go to the documentation of this file.
1
<?php
2
/*
3
* @author Anakeen
4
* @package FDL
5
*/
6
7
include_once (
"FDL/Class.WDoc.php"
);
8
9
class
WTestImp1
extends
WDoc
10
{
11
var
$attrPrefix
=
"WAN"
;
12
13
const
alive
=
"alive"
;
14
const
dead
=
"dead"
;
15
const
transfered
=
"transfered"
;
16
const
sick
=
"sick"
;
17
const
convalescent
=
"convalescent"
;
18
const
T1
=
"T1"
;
19
const
Tsick
=
"Tsick"
;
20
const
Tconvalescent
=
"Tconvalescent"
;
21
const
T3
=
"T3"
;
22
var
$firstState
= self::alive;
23
var
$transitions
= array(
24
self::T1 => array() ,
25
self::Tsick => array(
26
"m1"
=>
"SendMailToVeto"
,
27
"ask"
=> array(
28
"wtst_test1"
,
29
"wtst_test2"
30
) ,
31
"nr"
=>
true
32
) ,
33
self::Tconvalescent => array(
34
"m1"
=>
"toHealthCard"
35
) ,
36
self::T3 => array()
37
);
38
39
var
$cycle
= array(
40
array(
41
"e1"
=> self::alive,
42
"e2"
=> self::sick,
43
"t"
=> self::Tsick
44
) ,
45
46
array(
47
"e1"
=> self::alive,
48
"e2"
=> self::transfered,
49
"t"
=> self::T1
50
) ,
51
52
array(
53
"e1"
=> self::convalescent,
54
"e2"
=> self::dead,
55
"t"
=> self::T1
56
) ,
57
58
array(
59
"e1"
=> self::sick,
60
"e2"
=> self::convalescent,
61
"t"
=> self::Tconvalescent
62
) ,
63
64
array(
65
"e1"
=> self::convalescent,
66
"e2"
=> self::alive,
67
"t"
=> self::T1
68
) ,
69
70
array(
71
"e1"
=> self::sick,
72
"e2"
=> self::dead,
73
"t"
=>
"T3"
74
)
75
);
76
77
function
SendMailToVeto
($newstate)
78
{
79
}
80
81
function
toHealthCard
($newstate)
82
{
83
}
84
}
85
?>
WTestImp1\convalescent
const convalescent
Definition:
Class.WTestImp1.php:17
WDoc
Definition:
Class.WDoc.php:20
WTestImp1
Definition:
Class.WTestImp1.php:9
WTestImp1\SendMailToVeto
SendMailToVeto($newstate)
Definition:
Class.WTestImp1.php:77
WTestImp1\$transitions
$transitions
Definition:
Class.WTestImp1.php:23
WTestImp1\$cycle
$cycle
Definition:
Class.WTestImp1.php:39
WTestImp1\toHealthCard
toHealthCard($newstate)
Definition:
Class.WTestImp1.php:81
WTestImp1\sick
const sick
Definition:
Class.WTestImp1.php:16
WTestImp1\T1
const T1
Definition:
Class.WTestImp1.php:18
WTestImp1\$firstState
$firstState
Definition:
Class.WTestImp1.php:22
WTestImp1\$attrPrefix
$attrPrefix
Definition:
Class.WTestImp1.php:11
WTestImp1\alive
const alive
Definition:
Class.WTestImp1.php:13
WTestImp1\dead
const dead
Definition:
Class.WTestImp1.php:14
WTestImp1\Tconvalescent
const Tconvalescent
Definition:
Class.WTestImp1.php:20
WTestImp1\transfered
const transfered
Definition:
Class.WTestImp1.php:15
WTestImp1\Tsick
const Tsick
Definition:
Class.WTestImp1.php:19
WTestImp1\T3
const T3
Definition:
Class.WTestImp1.php:21
← centre documentaire
© anakeen