Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F469648
PhabricatorEpochEditField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
779 B
Referenced Files
None
Subscribers
None
PhabricatorEpochEditField.php
View Options
<?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
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 6, 8:49 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
81459
Default Alt Text
PhabricatorEpochEditField.php (779 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment