Web_Event_Simple __construct(
string
$name, integer
$type, string
$capture
)
|
|
Constructor
Parameters:
|
string |
$name: |
Name of the event |
|
integer |
$type: |
Type of the event. Tangra_Parameter_Method::GET or Tangra_Parameter_Method::POST or Tangra_Parameter_Method::PI |
|
string |
$capture: |
Label of the capture |
Redefinition of:
- Event::__construct()
Returns type of the event
API Tags:
Checks if event condition is met
Parameters:
API Tags:
| Return: | Value of the capture |
| Access: | public |
Redefinition of:
- Web_Event::is_it_me()
- Checks if event condition is met
Redefined in descendants as:
void set_capture(
unknown_type
$capture
)
|
|
Sets capture label
Parameters:
API Tags:
| Internal: | |
| Access: | protected |
void set_type(
integer
$type
)
|
|
Sets event type
Tangra_Parameter_Method::NONE or Tangra_Parameter_Method::GET or Tangra_Parameter_Method::POST or Tangra_Parameter_Method::PI
Tangra_Parameter_Method::NONE is used to declare that no parameters are expected
Parameters:
API Tags:
| Internal: | |
| Access: | protected |