PHP Class Smile\ElasticsuiteThesaurus\Controller\Adminhtml\AbstractThesaurus

Author: Romain Ruaud ([email protected])
Inheritance: extends Magento\Backend\App\Action
Mostrar archivo Open project: smile-sa/elasticsuite

Protected Properties

Property Type Description
$coreRegistry Magento\Framework\Registry Core registry
$resultPageFactory Magento\Framework\View\Result\PageFactory | null
$thesaurusFactory Smile\ElasticsuiteThesaurus\Model\ThesaurusFactory Thesaurus Factory
$thesaurusRepository Smile\ElasticsuiteThesaurus\Api\ThesaurusRepositoryInterface

Public Methods

Method Description
__construct ( Magento\Backend\App\Action\Context $context, Magento\Framework\View\Result\PageFactory $resultPageFactory, Magento\Framework\Registry $coreRegistry, Smile\ElasticsuiteThesaurus\Api\ThesaurusRepositoryInterface $thesaurusRepository, Smile\ElasticsuiteThesaurus\Model\ThesaurusFactory $thesaurusFactory ) Abstract constructor.

Protected Methods

Method Description
_isAllowed ( ) : boolean Check if allowed to manage thesaurus
createPage ( ) : Magento\Backend\Model\View\Result\Page Create result page

Method Details

__construct() public method

Abstract constructor.
public __construct ( Magento\Backend\App\Action\Context $context, Magento\Framework\View\Result\PageFactory $resultPageFactory, Magento\Framework\Registry $coreRegistry, Smile\ElasticsuiteThesaurus\Api\ThesaurusRepositoryInterface $thesaurusRepository, Smile\ElasticsuiteThesaurus\Model\ThesaurusFactory $thesaurusFactory )
$context Magento\Backend\App\Action\Context Application context
$resultPageFactory Magento\Framework\View\Result\PageFactory Tesult Page factory
$coreRegistry Magento\Framework\Registry Application registry
$thesaurusRepository Smile\ElasticsuiteThesaurus\Api\ThesaurusRepositoryInterface Thesaurus Repository
$thesaurusFactory Smile\ElasticsuiteThesaurus\Model\ThesaurusFactory Thesaurus Factory

_isAllowed() protected method

Check if allowed to manage thesaurus
protected _isAllowed ( ) : boolean
return boolean

createPage() protected method

Create result page
protected createPage ( ) : Magento\Backend\Model\View\Result\Page
return Magento\Backend\Model\View\Result\Page

Property Details

$coreRegistry protected_oe property

Core registry
protected Registry,Magento\Framework $coreRegistry
return Magento\Framework\Registry

$resultPageFactory protected_oe property

protected PageFactory,Magento\Framework\View\Result|null $resultPageFactory
return Magento\Framework\View\Result\PageFactory | null

$thesaurusFactory protected_oe property

Thesaurus Factory
protected ThesaurusFactory,Smile\ElasticsuiteThesaurus\Model $thesaurusFactory
return Smile\ElasticsuiteThesaurus\Model\ThesaurusFactory

$thesaurusRepository protected_oe property

protected ThesaurusRepositoryInterface,Smile\ElasticsuiteThesaurus\Api $thesaurusRepository
return Smile\ElasticsuiteThesaurus\Api\ThesaurusRepositoryInterface