Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
trigger_event.inc
1 <?php
17 require_once SQ_INCLUDE_PATH.'/asset.inc';
18 
31 class Trigger_Event extends Asset
32 {
33 
34 
35  // broadcaster of the event
36  var $broadcaster;
37 
38 
42  function Trigger_Event($assetid=0)
43  {
44  $this->Asset($assetid);
45 
46  }//end constructor
47 
48 
57  function setBroadcaster(&$asset)
58  {
59  // set the broadcaster to the calling asset
60  $this->broadcaster = &$asset;
61 
62  }//end setBroadcaster()
63 
64 
71  function &getBroadcaster()
72  {
73  return $this->broadcaster;
74 
75  }//end getBroadcaster()
76 
77 
78 }//end class
79 
80 ?>