mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 03:12:41 +01:00
22 lines
490 B
PHP
22 lines
490 B
PHP
|
<?php
|
||
|
|
||
|
final class PhabricatorEpochEditField
|
||
|
extends PhabricatorEditField {
|
||
|
|
||
|
protected function newControl() {
|
||
|
return id(new AphrontFormDateControl())
|
||
|
->setViewer($this->getViewer());
|
||
|
}
|
||
|
|
||
|
protected function newHTTPParameterType() {
|
||
|
return new AphrontEpochHTTPParameterType();
|
||
|
}
|
||
|
|
||
|
protected function newConduitParameterType() {
|
||
|
// TODO: This isn't correct, but we don't have any methods which use this
|
||
|
// yet.
|
||
|
return new ConduitIntParameterType();
|
||
|
}
|
||
|
|
||
|
}
|