Page MenuHomePhorge

HeraldConditionTranscript.php
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

HeraldConditionTranscript.php

<?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

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)

Event Timeline