|
@@ 218-224 (lines=7) @@
|
| 215 |
|
return sprintf($this->getConfig('datetimeorder'), $valDate, $valTime); |
| 216 |
|
} |
| 217 |
|
|
| 218 |
|
public function setDisabled($bool) { |
| 219 |
|
parent::setDisabled($bool); |
| 220 |
|
$this->dateField->setDisabled($bool); |
| 221 |
|
$this->timeField->setDisabled($bool); |
| 222 |
|
if($this->timezoneField) $this->timezoneField->setDisabled($bool); |
| 223 |
|
return $this; |
| 224 |
|
} |
| 225 |
|
|
| 226 |
|
public function setReadonly($bool) { |
| 227 |
|
parent::setReadonly($bool); |
|
@@ 226-232 (lines=7) @@
|
| 223 |
|
return $this; |
| 224 |
|
} |
| 225 |
|
|
| 226 |
|
public function setReadonly($bool) { |
| 227 |
|
parent::setReadonly($bool); |
| 228 |
|
$this->dateField->setReadonly($bool); |
| 229 |
|
$this->timeField->setReadonly($bool); |
| 230 |
|
if($this->timezoneField) $this->timezoneField->setReadonly($bool); |
| 231 |
|
return $this; |
| 232 |
|
} |
| 233 |
|
|
| 234 |
|
/** |
| 235 |
|
* @return DateField |
|
@@ 77-85 (lines=9) @@
|
| 74 |
|
parent::__construct($name, $title, $value); |
| 75 |
|
} |
| 76 |
|
|
| 77 |
|
public function setForm($form) { |
| 78 |
|
parent::setForm($form); |
| 79 |
|
|
| 80 |
|
$this->dateField->setForm($form); |
| 81 |
|
$this->timeField->setForm($form); |
| 82 |
|
$this->timezoneField->setForm($form); |
| 83 |
|
|
| 84 |
|
return $this; |
| 85 |
|
} |
| 86 |
|
|
| 87 |
|
public function setName($name) { |
| 88 |
|
parent::setName($name); |