Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2891774
DiffusionFileContentQueryConduitAPIMethod.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
797 B
Referenced Files
None
Subscribers
None
DiffusionFileContentQueryConduitAPIMethod.php
View Options
<?php
final
class
DiffusionFileContentQueryConduitAPIMethod
extends
DiffusionQueryConduitAPIMethod
{
public
function
getAPIMethodName
(
)
{
return
'diffusion.filecontentquery'
;
}
public
function
getMethodDescription
(
)
{
return
pht
(
'Retrieve file content from a repository.'
)
;
}
protected
function
defineReturnType
(
)
{
return
'array'
;
}
protected
function
defineCustomParamTypes
(
)
{
return
array
(
'path'
=>
'required string'
,
'commit'
=>
'required string'
,
)
+
DiffusionFileFutureQuery
::
getConduitParameters
(
)
;
}
protected
function
getResult
(
ConduitAPIRequest
$request
)
{
$drequest
=
$this
->
getDiffusionRequest
(
)
;
return
DiffusionFileContentQuery
::
newFromDiffusionRequest
(
$drequest
)
->
respondToConduitRequest
(
$request
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 15:43 (3 w, 22 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1126120
Default Alt Text
DiffusionFileContentQueryConduitAPIMethod.php (797 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment