getTriggerOptions() защищенный Метод

protected getTriggerOptions ( ) : array
Результат array list of trigger callback options.
Пример #1
0
 /**
  * @return array list of timer options for client-side.
  */
 protected function getTriggerOptions()
 {
     $options = parent::getTriggerOptions();
     $name = preg_replace('/^on/', '', $this->getEventName());
     $options['EventName'] = strtolower($name);
     $options['StopEvent'] = $this->getPreventDefaultAction();
     return $options;
 }
Пример #2
0
 /**
  * @return array list of timer options for client-side.
  */
 protected function getTriggerOptions()
 {
     $options = parent::getTriggerOptions();
     $options['PropertyName'] = $this->getPropertyName();
     $options['Interval'] = $this->getInterval();
     $options['Decay'] = $this->getDecayRate();
     return $options;
 }