Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96576419
HeraldRuleTranscript.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
Sat, Dec 28, 10:06
Size
1 KB
Mime Type
text/x-php
Expires
Mon, Dec 30, 10:06 (2 d)
Engine
blob
Format
Raw Data
Handle
23209888
Attached To
rPH Phabricator
HeraldRuleTranscript.php
View Options
<?php
final
class
HeraldRuleTranscript
extends
Phobject
{
protected
$ruleID
;
protected
$result
;
protected
$reason
;
protected
$ruleName
;
protected
$ruleOwner
;
const
RESULT_FORBIDDEN
=
'forbidden'
;
public
function
isForbidden
()
{
return
(
$this
->
getResult
()
===
self
::
RESULT_FORBIDDEN
);
}
public
function
setResult
(
$result
)
{
$this
->
result
=
$result
;
return
$this
;
}
public
function
getResult
()
{
return
$this
->
result
;
}
public
function
setReason
(
$reason
)
{
$this
->
reason
=
$reason
;
return
$this
;
}
public
function
getReason
()
{
return
$this
->
reason
;
}
public
function
setRuleID
(
$rule_id
)
{
$this
->
ruleID
=
$rule_id
;
return
$this
;
}
public
function
getRuleID
()
{
return
$this
->
ruleID
;
}
public
function
setRuleName
(
$rule_name
)
{
$this
->
ruleName
=
$rule_name
;
return
$this
;
}
public
function
getRuleName
()
{
return
$this
->
ruleName
;
}
public
function
setRuleOwner
(
$rule_owner
)
{
$this
->
ruleOwner
=
$rule_owner
;
return
$this
;
}
public
function
getRuleOwner
()
{
return
$this
->
ruleOwner
;
}
}
Event Timeline
Log In to Comment