Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101008372
ManiphestExcelFormat.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
Tue, Feb 4, 18:40
Size
755 B
Mime Type
text/x-php
Expires
Thu, Feb 6, 18:40 (2 d)
Engine
blob
Format
Raw Data
Handle
24075301
Attached To
rPH Phabricator
ManiphestExcelFormat.php
View Options
<?php
abstract
class
ManiphestExcelFormat
extends
Phobject
{
final
public
static
function
loadAllFormats
()
{
return
id
(
new
PhutilClassMapQuery
())
->
setAncestorClass
(
__CLASS__
)
->
setSortMethod
(
'getOrder'
)
->
execute
();
}
abstract
public
function
getName
();
abstract
public
function
getFileName
();
public
function
getOrder
()
{
return
0
;
}
protected
function
computeExcelDate
(
$epoch
)
{
$seconds_per_day
=
(
60
*
60
*
24
);
$offset
=
(
$seconds_per_day
*
25569
);
return
(
$epoch
+
$offset
)
/
$seconds_per_day
;
}
/**
* @phutil-external-symbol class PHPExcel
*/
abstract
public
function
buildWorkbook
(
PHPExcel
$workbook
,
array
$tasks
,
array
$handles
,
PhabricatorUser
$user
);
}
Event Timeline
Log In to Comment