mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-04 20:52:43 +01:00
30 lines
527 B
PHP
30 lines
527 B
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 HeraldAdapter::VALUE_NONE;
|
||
|
}
|
||
|
|
||
|
public function supportsObject($object) {
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
}
|