本文整理匯總了PHP中Magento\Backend\Block\Widget\Grid\Column::__construct方法的典型用法代碼示例。如果您正苦於以下問題:PHP Column::__construct方法的具體用法?PHP Column::__construct怎麽用?PHP Column::__construct使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Magento\Backend\Block\Widget\Grid\Column
的用法示例。
在下文中一共展示了Column::__construct方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: __construct
/**
* @param \Magento\Backend\Block\Template\Context $context
* @param array $data
*/
public function __construct(\Magento\Backend\Block\Template\Context $context, array $data = [])
{
$this->_rendererTypes['options'] = 'Magento\\Backend\\Block\\Widget\\Grid\\Column\\Renderer\\Options\\Extended';
$this->_filterTypes['options'] = 'Magento\\Backend\\Block\\Widget\\Grid\\Column\\Filter\\Select\\Extended';
$this->_rendererTypes['select'] = 'Magento\\Backend\\Block\\Widget\\Grid\\Column\\Renderer\\Select\\Extended';
$this->_rendererTypes['checkbox'] = 'Magento\\Backend\\Block\\Widget\\Grid\\Column\\Renderer\\Checkboxes\\Extended';
$this->_rendererTypes['radio'] = 'Magento\\Backend\\Block\\Widget\\Grid\\Column\\Renderer\\Radio\\Extended';
parent::__construct($context, $data);
}
示例2: __construct
/**
* @param \Magento\Backend\Block\Template\Context $context
* @param \Magento\Framework\App\Cache\TypeListInterface $cacheTypeList
* @param array $data
*/
public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\App\Cache\TypeListInterface $cacheTypeList, array $data = [])
{
parent::__construct($context, $data);
$this->_cacheTypeList = $cacheTypeList;
}
示例3: __construct
/**
* @param \Magento\Backend\Block\Template\Context $context
* @param \Magento\Backup\Helper\Data $backupHelper
* @param array $data
*/
public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Backup\Helper\Data $backupHelper, array $data = [])
{
$this->_backupHelper = $backupHelper;
parent::__construct($context, $data);
}
示例4: __construct
/**
* @param \Magento\Backend\Block\Template\Context $context
* @param \Magento\Sales\Model\Order\Config $config
* @param array $data
*/
public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Sales\Model\Order\Config $config, array $data = [])
{
parent::__construct($context, $data);
$this->_config = $config;
}
示例5: __construct
/**
* @param \Magento\Backend\Block\Template\Context $context
* @param array $data
*/
public function __construct(\Magento\Backend\Block\Template\Context $context, array $data = [])
{
parent::__construct($context, $data);
}