Core  3.2
PHP API documentation
 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 ?>
const convalescent
SendMailToVeto($newstate)
toHealthCard($newstate)
const Tconvalescent
const transfered
← centre documentaire © anakeen