Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F549207
PhabricatorEpochEditField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
976 B
Referenced Files
None
Subscribers
None
PhabricatorEpochEditField.php
View Options
<?php
final
class
PhabricatorEpochEditField
extends
PhabricatorEditField
{
private
$allowNull
;
private
$hideTime
;
public
function
setAllowNull
(
$allow_null
)
{
$this
->
allowNull
=
$allow_null
;
return
$this
;
}
public
function
getAllowNull
()
{
return
$this
->
allowNull
;
}
public
function
setHideTime
(
$hide_time
)
{
$this
->
hideTime
=
$hide_time
;
return
$this
;
}
public
function
getHideTime
()
{
return
$this
->
hideTime
;
}
protected
function
newControl
()
{
return
id
(
new
AphrontFormDateControl
())
->
setAllowNull
(
$this
->
getAllowNull
())
->
setIsTimeDisabled
(
$this
->
getHideTime
())
->
setViewer
(
$this
->
getViewer
());
}
protected
function
newHTTPParameterType
()
{
return
id
(
new
AphrontEpochHTTPParameterType
())
->
setAllowNull
(
$this
->
getAllowNull
());
}
protected
function
newConduitParameterType
()
{
return
id
(
new
ConduitEpochParameterType
())
->
setAllowNull
(
$this
->
getAllowNull
());
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 2:03 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
115916
Default Alt Text
PhabricatorEpochEditField.php (976 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment