tangra logo
   
[ class tree: tangra_lib ] [ index: tangra_lib ] [ all elements ]
 

Class: Web_Event_Composite

Source Location: /web_site/web_event_composite.class.php

Class Web_Event_Composite

Class Overview

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

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

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

Inherited From Event

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.

[ Top ]
Property Summary
array   $web_events_simple   Array that holds Web_Event_Simple

[ Top ]
Method Summary
void   add_web_event_simple()   Adds new Web_Event_Simple
void   add_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()   Checks if event condition is met

[ Top ]
Properties
array   $web_events_simple = array() [line 41]

Array that holds Web_Event_Simple

API Tags:
Access:  private


[ Top ]
Methods
add_web_event_simple  [line 49]

  void add_web_event_simple( Web_Event_Simple $wes  )

Adds new Web_Event_Simple

Parameters:
Web_Event_Simple   $wes: 

API Tags:
Access:  public


[ Top ]
add_wes  [line 63]

  void add_wes( Web_Event_Simple $wes  )

Alias of add_web_event_simple

Parameters:
Web_Event_Simple   $wes: 

API Tags:
Access:  public


[ Top ]
get_capture  [line 108]

  unknown get_capture( )

Returns array that contains capture labels of all Web_Event_Simple


API Tags:
Access:  public


Redefinition of:
Web_Event::get_capture()
Returns label of the capture

[ Top ]
is_it_me  [line 81]

  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

Parameters:
Web_Context   $context: 

API Tags:
Return:  R
Access:  public


Redefinition of:
Web_Event::is_it_me()
Checks if event condition is met

[ Top ]