コード例 #1
0
 /**
  * Get javascript date picker options.
  * @return array date picker client-side options
  */
 protected function getDatePickerOptions()
 {
     $options = parent::getDatePickerOptions();
     $options['EventTarget'] = $this->getUniqueID();
     $options['ShowCalendar'] = $this->getShowCalendar();
     return $options;
 }
コード例 #2
0
ファイル: TActiveDatePicker.php プロジェクト: Nurudeen/prado
 /**
  * Get javascript date picker options.
  * @return array date picker client-side options
  */
 protected function getDatePickerOptions()
 {
     $options = parent::getDatePickerOptions();
     $options['CausesValidation'] = $this->getCausesValidation();
     $options['ValidationGroup'] = $this->getValidationGroup();
     $options['EventTarget'] = $this->getUniqueID();
     $options['ShowCalendar'] = $this->getShowCalendar();
     $options['AutoPostBack'] = $this->getAutoPostBack();
     return $options;
 }