PHP Class Phergie_Event_Command, phergie

Author: Phergie Development Team ([email protected])
Inheritance: extends Phergie_Event_Request
Exibir arquivo Open project: phergie/phergie Class Usage Examples

Protected Properties

Property Type Description
$plugin Phergie_Plugin_Abstract Reference to the plugin instance that created the event

Public Methods

Method Description
getPlugin ( ) : Phergie_Plugin_Abstract | null Returns a reference to the plugin instance that created the event.
setPlugin ( Phergie_Plugin_Abstract $plugin ) : Phergie_Event_Command Stores a reference to the plugin instance that created the event.

Method Details

getPlugin() public method

Returns a reference to the plugin instance that created the event.
public getPlugin ( ) : Phergie_Plugin_Abstract | null
return Phergie_Plugin_Abstract | null Plugin instance or NULL if none has been set

setPlugin() public method

Stores a reference to the plugin instance that created the event.
public setPlugin ( Phergie_Plugin_Abstract $plugin ) : Phergie_Event_Command
$plugin Phergie_Plugin_Abstract Plugin instance
return Phergie_Event_Command Provides a fluent interface

Property Details

$plugin protected_oe property

Reference to the plugin instance that created the event
protected Phergie_Plugin_Abstract $plugin
return Phergie_Plugin_Abstract