Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
Class.WTestExtra.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 WTestExtra extends WDoc
10 {
11  var $attrPrefix = "WAN";
12 
13  const alive = "alive"; # N_("alive")
14  const dead = "dead"; # N_("dead")
15  const transfered = "transfered"; # N_("transfered")
16  const sick = "sick"; # N_("sick")
17  const convalescent = "convalescent"; # N_("convalescent")
18  const T1 = "T1"; # N_("T1")
19  const Tsick = "Tsick"; # N_("Tsick")
20  const Tconvalescent = "Tconvalescent"; # N_("Tconvalescent")
21  const T3 = "T3"; # N_("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_refus",
29  ) ,
30  "nr" => true
31  ) ,
32  self::Tconvalescent => array(
33  "m1" => "toHealthCard"
34  ) ,
35  self::T3 => array()
36  );
37 
38  var $cycle = array(
39  array(
40  "e1" => self::alive,
41  "e2" => self::sick,
42  "t" => self::Tsick
43  ) ,
44 
45  array(
46  "e1" => self::alive,
47  "e2" => self::transfered,
48  "t" => self::T1
49  ) ,
50 
51  array(
52  "e1" => self::convalescent,
53  "e2" => self::dead,
54  "t" => self::T1
55  ) ,
56 
57  array(
58  "e1" => self::sick,
59  "e2" => self::convalescent,
60  "t" => self::Tconvalescent
61  ) ,
62 
63  array(
64  "e1" => self::convalescent,
65  "e2" => self::alive,
66  "t" => self::T1
67  ) ,
68 
69  array(
70  "e1" => self::sick,
71  "e2" => self::dead,
72  "t" => "T3"
73  )
74  );
75 
76  function SendMailToVeto($newstate)
77  {
78  }
79 
80  function toHealthCard($newstate)
81  {
82  }
83 }
SendMailToVeto($newstate)
print t
Definition: cleanFamily.php:92
toHealthCard($newstate)
N_($s)
Definition: Lib.Common.php:18
← centre documentaire © anakeen