Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91208989
PhabricatorProjectColumnCreatedOrder.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Nov 9, 00:06
Size
622 B
Mime Type
text/x-php
Expires
Mon, Nov 11, 00:06 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22220654
Attached To
rPH Phabricator
PhabricatorProjectColumnCreatedOrder.php
View Options
<?php
final
class
PhabricatorProjectColumnCreatedOrder
extends
PhabricatorProjectColumnOrder
{
const
ORDERKEY
=
'created'
;
public
function
getDisplayName
()
{
return
pht
(
'Sort by Created Date'
);
}
protected
function
newMenuIconIcon
()
{
return
'fa-clock-o'
;
}
public
function
getHasHeaders
()
{
return
false
;
}
public
function
getCanReorder
()
{
return
false
;
}
public
function
getMenuOrder
()
{
return
5000
;
}
protected
function
newSortVectorForObject
(
$object
)
{
return
array
(
-
1
*
(
int
)
$object
->
getDateCreated
(),
-
1
*
(
int
)
$object
->
getID
(),
);
}
}
Event Timeline
Log In to Comment