Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F557521
PhabricatorPDFFragment.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
628 B
Referenced Files
None
Subscribers
None
PhabricatorPDFFragment.php
View Options
<?php
abstract
class
PhabricatorPDFFragment
extends
Phobject
{
private
$rope
;
public
function
getAsBytes
()
{
$this
->
rope
=
new
PhutilRope
();
$this
->
writeFragment
();
$rope
=
$this
->
rope
;
$this
->
rope
=
null
;
return
$rope
->
getAsString
();
}
public
function
hasRefTableEntry
()
{
return
false
;
}
abstract
protected
function
writeFragment
();
final
protected
function
writeLine
(
$pattern
)
{
$pattern
=
$pattern
.
"
\n
"
;
$argv
=
func_get_args
();
$argv
[
0
]
=
$pattern
;
$line
=
call_user_func_array
(
'sprintf'
,
$argv
);
$this
->
rope
->
append
(
$line
);
return
$this
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 8:15 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
100081
Default Alt Text
PhabricatorPDFFragment.php (628 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment