Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F956041
HeraldConditionTranscript.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
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
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Jun 17, 5:28 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
218307
Default Alt Text
HeraldConditionTranscript.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment