Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F557373
HeraldApplyTranscript.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
HeraldApplyTranscript.php
View Options
<?php
final
class
HeraldApplyTranscript
extends
Phobject
{
private
$action
;
private
$target
;
private
$ruleID
;
private
$reason
;
private
$applied
;
private
$appliedReason
;
public
function
__construct
(
HeraldEffect
$effect
,
$applied
,
$reason
=
null
)
{
$this
->
setAction
(
$effect
->
getAction
());
$this
->
setTarget
(
$effect
->
getTarget
());
if
(
$effect
->
getRule
())
{
$this
->
setRuleID
(
$effect
->
getRule
()->
getID
());
}
$this
->
setReason
(
$effect
->
getReason
());
$this
->
setApplied
(
$applied
);
$this
->
setAppliedReason
(
$reason
);
}
public
function
setAction
(
$action
)
{
$this
->
action
=
$action
;
return
$this
;
}
public
function
getAction
()
{
return
$this
->
action
;
}
public
function
setTarget
(
$target
)
{
$this
->
target
=
$target
;
return
$this
;
}
public
function
getTarget
()
{
return
$this
->
target
;
}
public
function
setRuleID
(
$rule_id
)
{
$this
->
ruleID
=
$rule_id
;
return
$this
;
}
public
function
getRuleID
()
{
return
$this
->
ruleID
;
}
public
function
setReason
(
$reason
)
{
$this
->
reason
=
$reason
;
return
$this
;
}
public
function
getReason
()
{
return
$this
->
reason
;
}
public
function
setApplied
(
$applied
)
{
$this
->
applied
=
$applied
;
return
$this
;
}
public
function
getApplied
()
{
return
$this
->
applied
;
}
public
function
setAppliedReason
(
$applied_reason
)
{
$this
->
appliedReason
=
$applied_reason
;
return
$this
;
}
public
function
getAppliedReason
()
{
return
$this
->
appliedReason
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 8:03 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
101066
Default Alt Text
HeraldApplyTranscript.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment