1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-04 20:52:43 +01:00
phorge-phorge/src/applications/herald/field/HeraldAlwaysField.php

30 lines
527 B
PHP
Raw Normal View History

<?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 HeraldAdapter::VALUE_NONE;
}
public function supportsObject($object) {
return true;
}
}