Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101121080
HeraldConditionTranscript.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
Wed, Feb 5, 23:08
Size
1 KB
Mime Type
text/x-php
Expires
Fri, Feb 7, 23:08 (2 d)
Engine
blob
Format
Raw Data
Handle
24099565
Attached To
rPH Phabricator
HeraldConditionTranscript.php
View Options
<?php
final
class
HeraldConditionTranscript
extends
Phobject
{
protected
$ruleID
;
protected
$conditionID
;
protected
$fieldName
;
protected
$condition
;
protected
$testValue
;
protected
$note
;
protected
$result
;
const
RESULT_FORBIDDEN
=
'forbidden'
;
public
function
setRuleID
(
$rule_id
)
{
$this
->
ruleID
=
$rule_id
;
return
$this
;
}
public
function
getRuleID
()
{
return
$this
->
ruleID
;
}
public
function
setConditionID
(
$condition_id
)
{
$this
->
conditionID
=
$condition_id
;
return
$this
;
}
public
function
getConditionID
()
{
return
$this
->
conditionID
;
}
public
function
setFieldName
(
$field_name
)
{
$this
->
fieldName
=
$field_name
;
return
$this
;
}
public
function
getFieldName
()
{
return
$this
->
fieldName
;
}
public
function
setCondition
(
$condition
)
{
$this
->
condition
=
$condition
;
return
$this
;
}
public
function
getCondition
()
{
return
$this
->
condition
;
}
public
function
setTestValue
(
$test_value
)
{
$this
->
testValue
=
$test_value
;
return
$this
;
}
public
function
getTestValue
()
{
return
$this
->
testValue
;
}
public
function
setNote
(
$note
)
{
$this
->
note
=
$note
;
return
$this
;
}
public
function
getNote
()
{
return
$this
->
note
;
}
public
function
setResult
(
$result
)
{
$this
->
result
=
$result
;
return
$this
;
}
public
function
getResult
()
{
return
$this
->
result
;
}
public
function
isForbidden
()
{
return
(
$this
->
getResult
()
===
self
::
RESULT_FORBIDDEN
);
}
}
Event Timeline
Log In to Comment