protected getTriggerOptions ( ) : array | ||
return | array | list of trigger callback options. |
protected function getTriggerOptions()
{
$options['ID'] = $this->getClientID();
$options['EventTarget'] = $this->getUniqueID();
$options['ControlID'] = $this->getTargetControl();
return $options;
}
/** * @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; }