public getContentsOb ( ) : mixed | ||
return | mixed | Either an IMP_Contents object or null. |
public function getContentsOb()
{
return $this->_replytype && ($indices = $this->getMetadata('indices')) && count($indices) === 1 ? $GLOBALS['injector']->getInstance('IMP_Factory_Contents')->create($indices) : null;
}