/** * * @param blaze\web\component\UIComponent $component */ public function __construct(\blaze\web\component\UIComponent $component) { parent::__construct($component); }
/** * * @param blaze\web\component\UIComponent $component */ public function __construct(\blaze\web\component\UIComponent $component, $oldValue, $newValue) { parent::__construct($component); $this->oldValue = $oldValue; $this->newValue = $newValue; }
public function queueEvent(\blaze\web\event\BlazeEvent $event) { if ($event != null && $event instanceof \blaze\web\event\ActionEvent) { if ($this->getImmediate()) { $event->setPhaseId(\blaze\web\event\PhaseId::APPLY_REQUEST); } else { $event->setPhaseId(\blaze\web\event\PhaseId::INVOKE_APPLICATION); } } parent::queueEvent($event); }
public function processEvent(\blaze\web\application\BlazeContext $context, \blaze\web\event\BlazeEvent $event) { foreach ($this->listeners as $listener) { if ($event->isAppropriateListener($listener)) { $event->processListener($listener); } } }