Backend\Modules\ContentBlocks\Entity\ContentBlock::getRevisionId PHP Method

getRevisionId() public method

public getRevisionId ( ) : integer
return integer
    public function getRevisionId()
    {
        return $this->revisionId;
    }

Usage Example

Esempio n. 1
0
 /**
  * Parse the content block and the revisions
  */
 protected function parse()
 {
     parent::parse();
     $this->tpl->assign('id', $this->contentBlock->getId());
     $this->tpl->assign('title', $this->contentBlock->getTitle());
     $this->tpl->assign('revision_id', $this->contentBlock->getRevisionId());
     $this->parseRevisionsDataGrid();
 }