Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93140937
PhabricatorFileImageTransform.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, Nov 26, 12:39
Size
306 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 12:39 (2 d)
Engine
blob
Format
Raw Data
Handle
22580407
Attached To
rPH Phabricator
PhabricatorFileImageTransform.php
View Options
<?php
abstract
class
PhabricatorFileImageTransform
extends
PhabricatorFileTransform
{
public
function
canApplyTransform
(
PhabricatorFile
$file
)
{
if
(!
$file
->
isViewableImage
())
{
return
false
;
}
if
(!
$file
->
isTransformableImage
())
{
return
false
;
}
return
true
;
}
}
Event Timeline
Log In to Comment