TriggerEventCommand Class Reference
[Behaviour]
Command to trigger an event on the EventSource class. More...
Inheritance diagram for
TriggerEventCommand:
Public Member Functions |
|
can_execute ($user) | |
Returns TRUE, if the command can be executed
by given user. |
|
execute () | |
Executes commands. |
Detailed Description
Command to trigger an event on the EventSource class.
Definition at line 8 of file triggerevent.cmd.php.
Member Function Documentation
TriggerEventCommand::can_execute | ( | $ | user | ) |
Returns TRUE, if the command can be executed by given user.
Reimplemented from CommandBase.
Definition at line 9 of file triggerevent.cmd.php.
TriggerEventCommand::execute | ( | ) |
Executes commands.
- Returns:
- Status
Reimplemented from CommandBase.
Definition at line 13 of file triggerevent.cmd.php.
00013 { 00014 return EventSource::Instance()->invoke_event_no_result($this->get_instance(), $this->get_params()); 00015 }
The documentation for this class was generated from the following file:
- gyro/core/behaviour/commands/generics/triggerevent.cmd.php