Page MenuHomec4science

HeraldAlwaysField.php
No OneTemporary

File Metadata

Created
Tue, Nov 26, 22:11

HeraldAlwaysField.php

<?php
final class HeraldAlwaysField extends HeraldField {
const FIELDCONST = 'always';
public function getHeraldFieldName() {
return pht('Always');
}
public function getFieldGroupKey() {
return HeraldBasicFieldGroup::FIELDGROUPKEY;
}
public function getHeraldFieldValue($object) {
return true;
}
public function getHeraldFieldConditions() {
return array(
HeraldAdapter::CONDITION_UNCONDITIONALLY,
);
}
public function getHeraldFieldValueType($condition) {
return new HeraldEmptyFieldValue();
}
public function supportsObject($object) {
return true;
}
}

Event Timeline