Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F548296
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
Mon, May 12, 1:47 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
101286
Default Alt Text
ConduitAPIResponse.php (822 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment