Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
Class.WTestImp4.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 WTestImp4 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  "wan_idveto",
29  "wan_veto"
30  ) ,
31  "nr" => true
32  ) ,
33  self::Tconvalescent => array(
34  "m1" => "toHealthCard"
35  ) ,
36  self::T3 => array(
37  "m1" => "A2"
38  )
39  );
40 
41  var $cycle = array(
42  array(
43  "e1" => self::alive,
44  "e2" => self::sick,
45  "t" => self::Tsick
46  ) ,
47 
48  array(
49  "e1" => self::alive,
50  "e2" => self::transfered,
51  "t" => self::T1
52  ) ,
53 
54  array(
55  "e1" => self::convalescent,
56  "e2" => self::dead,
57  "t" => self::T1
58  ) ,
59 
60  array(
61  "e1" => self::sick,
62  "e2" => self::convalescent,
63  "t" => self::Tconvalescent
64  ) ,
65 
66  array(
67  "e1" => self::convalescent,
68  "e2" => self::alive,
69  "t" => self::T1
70  ) ,
71 
72  array(
73  "e1" => self::sick,
74  "e2" => self::dead,
75  "t" => "T3"
76  )
77  );
78 
79  public $stateactivity = array(
80  self::alive => 'live his life'
81  );
82  function SendMailToVeto($newstate)
83  {
84  }
85 
86  function toHealthCard($newstate)
87  {
88  }
89 }
90 ?>
print t
Definition: cleanFamily.php:92
const transfered
const Tconvalescent
toHealthCard($newstate)
const convalescent
N_($s)
Definition: Lib.Common.php:18
SendMailToVeto($newstate)
← centre documentaire © anakeen