Page MenuHomec4science

HeraldAlwaysField.php
No OneTemporary

File Metadata

Created
Tue, Jan 14, 16:30

HeraldAlwaysField.php

<?php
final class HeraldAlwaysField extends HeraldField {
const FIELDCONST = 'always';
public function getHeraldFieldName() {
return pht('Always');
}
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