final public function __construct()Inherited
final public function __construct()
Inherited
Return
this | //Implicit.// |
abstract public function register()Inherited
abstract public function register()
Inherited
Return
wild |
abstract public function handleEvent($event)Inherited
abstract public function handleEvent($event)
Inherited
Parameters
PhutilEvent | $event |
Return
wild |
final public function listen($type)Inherited
final public function listen($type)
Inherited
Parameters
$type |
Return
wild |
final public function getListenerID()Inherited
final public function getListenerID()
Inherited
PhutilEventListener
Return a scalar ID unique to this listener. This is used to deduplicate listeners which match events on multiple rules, so they are invoked only once.
Return
int | A scalar unique to this object instance. |
public function setApplication($application)
public function setApplication($application)
Parameters
PhabricatorApplication | $application |
Return
wild |
public function getApplication()
public function getApplication()
Return
wild |
public function hasApplicationCapability($viewer, $capability)
public function hasApplicationCapability($viewer, $capability)
Parameters
PhabricatorUser | $viewer | |
$capability |
Return
wild |
public function canUseApplication($viewer)
public function canUseApplication($viewer)
Parameters
PhabricatorUser | $viewer |
Return
wild |
protected function addActionMenuItems($event, $items)
protected function addActionMenuItems($event, $items)
Parameters
PhutilEvent | $event | |
$items |
Return
wild |