Web_Event_Composite is intended to contain 2 or more Web_Event_Simple It's contition is met if conditions of all Web_Events_Simple are met
Located in /web_site/web_event_composite.class.php [line 35]
Tangra_Class | --Event | --Web_Event | --Web_Event_Composite
Properties
Methods
Inherited From Event
Event::$name
Inherited From Web_Event
Web_Event::get_capture() Returns label of the capture Web_Event::is_it_me() Checks if event condition is met
Event::__construct() Event::get_name() Gets the event name Event::set_name() Sets the event name
Inherited From Tangra_Class
Tangra_Class::get_class_name() Alias of get_class(). Exist because of historical reasons. Tangra_Class::__set() Overides PHP built-in method and just throws exception if called. Purpose - to "forbid" autosetting of nonexisting class properties.
Array that holds Web_Event_Simple
void add_web_event_simple( Web_Event_Simple $wes )
Adds new Web_Event_Simple
void add_wes( Web_Event_Simple $wes )
Alias of add_web_event_simple
unknown get_capture( )
Returns array that contains capture labels of all Web_Event_Simple
array is_it_me( Web_Context $context )
Checks if event condition is met
Returns array that contain $key => $value pairs for all Web_Event_Simple. $key is the name of Web_Event_Simple, $value is the value of the capture