Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1491446
ConduitAPIResponse.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
822 B
Referenced Files
None
Subscribers
None
ConduitAPIResponse.php
View Options
<?php
final
class
ConduitAPIResponse
extends
Phobject
{
private
$result
;
private
$errorCode
;
private
$errorInfo
;
public
function
setResult
(
$result
)
{
$this
->
result
=
$result
;
return
$this
;
}
public
function
getResult
()
{
return
$this
->
result
;
}
public
function
setErrorCode
(
$error_code
)
{
$this
->
errorCode
=
$error_code
;
return
$this
;
}
public
function
getErrorCode
()
{
return
$this
->
errorCode
;
}
public
function
setErrorInfo
(
$error_info
)
{
$this
->
errorInfo
=
$error_info
;
return
$this
;
}
public
function
getErrorInfo
()
{
return
$this
->
errorInfo
;
}
public
function
toDictionary
()
{
return
array
(
'result'
=>
$this
->
getResult
(),
'error_code'
=>
$this
->
getErrorCode
(),
'error_info'
=>
$this
->
getErrorInfo
(),
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Jul 12, 11:58 PM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
339938
Default Alt Text
ConduitAPIResponse.php (822 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment