Файл: concrete5.7.5.6/concrete/src/Backup/ContentImporter/ValueInspector/Item/PageFeedItem.php
Строк: 30
<?php
namespace ConcreteCoreBackupContentImporterValueInspectorItem;
use ConcreteCorePageFeed;
class PageFeedItem extends AbstractItem
{
public function getDisplayName()
{
return t('RSS Feed');
}
public function getContentObject()
{
return Feed::getByHandle($this->getReference());
}
public function getContentValue()
{
if ($o = $this->getContentObject()) {
return $o->getFeedURL();
}
}
public function getFieldValue()
{
if ($o = $this->getContentObject()) {
return $o->getID();
}
}
}