<?php
namespace ConcreteCoreBackupContentImporterValueInspectorItem;
use ConcreteCorePageTypeType;
class PageTypeItem extends AbstractItem
{
public function getDisplayName()
{
return t('Page Type');
}
public function getContentObject()
{
return Type::getByHandle($this->getReference());
}
public function getFieldValue()
{
if ($o = $this->getContentObject()) {
return $o->getPageTypeID();
}
}
}