Esempio n. 1
0
 /**
  *
  * @param blaze\web\component\UIComponent $component
  */
 public function __construct(\blaze\web\component\UIComponent $component)
 {
     parent::__construct($component);
 }
Esempio n. 2
0
 /**
  *
  * @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;
 }
Esempio n. 3
0
 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);
 }
Esempio n. 4
0
 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);
         }
     }
 }