Changeset View
Changeset View
Standalone View
Standalone View
src/applications/herald/field/HeraldNewObjectField.php
Show All 10 Lines | final class HeraldNewObjectField extends HeraldField { | ||||
public function supportsObject($object) { | public function supportsObject($object) { | ||||
return !$this->getAdapter()->isSingleEventAdapter(); | return !$this->getAdapter()->isSingleEventAdapter(); | ||||
} | } | ||||
public function getHeraldFieldValue($object) { | public function getHeraldFieldValue($object) { | ||||
return $this->getAdapter()->getIsNewObject(); | return $this->getAdapter()->getIsNewObject(); | ||||
} | } | ||||
protected function getHeraldFieldStandardConditions() { | protected function getHeraldFieldStandardType() { | ||||
return self::STANDARD_BOOL; | return self::STANDARD_BOOL; | ||||
} | } | ||||
public function getHeraldFieldValueType($condition) { | |||||
return HeraldAdapter::VALUE_NONE; | |||||
} | |||||
} | } |