IMP_Compose::getContentsOb PHP Méthode

getContentsOb() public méthode

If this object contains sufficient metadata, return an IMP_Contents object reflecting that metadata.
public getContentsOb ( ) : mixed
Résultat 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;
    }