Page MenuHomePhorge

PhabricatorEpochEditField.php
No OneTemporary

Size
779 B
Referenced Files
None
Subscribers
None

PhabricatorEpochEditField.php

<?php
final class PhabricatorEpochEditField
extends PhabricatorEditField {
private $allowNull;
public function setAllowNull($allow_null) {
$this->allowNull = $allow_null;
return $this;
}
public function getAllowNull() {
return $this->allowNull;
}
protected function newControl() {
return id(new AphrontFormDateControl())
->setAllowNull($this->getAllowNull())
->setViewer($this->getViewer());
}
protected function newHTTPParameterType() {
return id(new AphrontEpochHTTPParameterType())
->setAllowNull($this->getAllowNull());
}
protected function newConduitParameterType() {
// TODO: This isn't correct, but we don't have any methods which use this
// yet.
return new ConduitIntParameterType();
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, May 6, 8:49 AM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
81459
Default Alt Text
PhabricatorEpochEditField.php (779 B)

Event Timeline