Page MenuHomePhorge

HeraldContentSourceField.php
No OneTemporary

Size
633 B
Referenced Files
None
Subscribers
None

HeraldContentSourceField.php

<?php
final class HeraldContentSourceField extends HeraldField {
const FIELDCONST = 'contentsource';
public function getHeraldFieldName() {
return pht('Content source');
}
public function getHeraldFieldValue($object) {
return $this->getAdapter()->getContentSource()->getSource();
}
public function getHeraldFieldConditions() {
return array(
HeraldAdapter::CONDITION_IS,
HeraldAdapter::CONDITION_IS_NOT,
);
}
public function getHeraldFieldValueType($condition) {
return HeraldAdapter::VALUE_CONTENT_SOURCE;
}
public function supportsObject($object) {
return true;
}
}

File Metadata

Mime Type
text/x-php
Expires
Wed, May 7, 6:40 AM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
87033
Default Alt Text
HeraldContentSourceField.php (633 B)

Event Timeline