PHP Interface Gui\Components\LazarusObjectInterface

Since: 0.1
Author: Rodrigo Azevedo @rodrigowbazeved
显示文件 Open project: gabrielrcouto/php-gui

Public Methods

Method Description
fire ( string $eventName ) : void Fire an object event
getLazarusClass ( ) : mixed Gets the value of lazarusClass.
getLazarusObjectId ( ) : mixed Gets the value of lazarusObjectId.
on ( string $eventName, callable $eventHandler ) : void Add a listener to an event

Method Details

fire() public method

Fire an object event
public fire ( string $eventName ) : void
$eventName string Event Name
return void

getLazarusClass() public method

Gets the value of lazarusClass.
public getLazarusClass ( ) : mixed
return mixed

getLazarusObjectId() public method

Gets the value of lazarusObjectId.
public getLazarusObjectId ( ) : mixed
return mixed

on() public method

Add a listener to an event
public on ( string $eventName, callable $eventHandler ) : void
$eventName string Event Name
$eventHandler callable Event Handler Function
return void