本文整理匯總了PHP中Magento\Backend\Block\Widget\Grid\Extended::_construct方法的典型用法代碼示例。如果您正苦於以下問題:PHP Extended::_construct方法的具體用法?PHP Extended::_construct怎麽用?PHP Extended::_construct使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Magento\Backend\Block\Widget\Grid\Extended
的用法示例。
在下文中一共展示了Extended::_construct方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: _construct
/**
* @return void
*/
protected function _construct()
{
parent::_construct();
$this->setId('googleshopping_selection_search_grid');
$this->setDefaultSort('id');
$this->setUseAjax(true);
}
示例2: _construct
/**
* {@inheritdoc}
*/
protected function _construct()
{
parent::_construct();
$this->setUseAjax(true);
$this->_parentTemplate = $this->getTemplate();
$this->setTemplate('tab/cart.phtml');
}
示例3: _construct
/**
* Initialize Grid block
*
* @return void
*/
protected function _construct()
{
parent::_construct();
$this->_defaultLimit = 200;
$this->setId('extension_custom_edit_grid');
$this->setUseAjax(true);
}
示例4: _construct
/**
* Constructor.
*/
public function _construct()
{
parent::_construct();
$this->setId('rules');
$this->setDefaultSort('id');
$this->setDefaultDir('DESC');
}
示例5: _construct
/**
* Class constructor
*
* @return void
*/
protected function _construct()
{
parent::_construct();
$this->setId('indexer_processes_grid');
$this->setFilterVisibility(false);
$this->setPagerVisibility(false);
}
示例6: _construct
/**
* initializer
*/
protected function _construct()
{
parent::_construct();
$this->setId('attemptsGrid');
$this->setDefaultSort('date');
$this->setDefaultDir('DESC');
}
示例7: _construct
/**
* Block construction, prepare grid params
*
* @return void
*/
protected function _construct()
{
parent::_construct();
//$this->setDefaultSort('name');
$this->setUseAjax(true);
$this->setDefaultFilter(['chooser_is_active' => '1']);
}
示例8: _construct
/**
* @return void
*/
protected function _construct()
{
parent::_construct();
$this->setId('recurring_payment_grid');
$this->setUseAjax(true);
$this->setSaveParametersInSession(true);
}
示例9: _construct
/**
* @return void
*/
protected function _construct()
{
parent::_construct();
$this->setId('wishlistReportGrid');
$this->setDefaultSort('entity_id');
$this->setDefaultDir('desc');
}
示例10: _construct
/**
* Block constructor, prepare grid params
*
* @return void
*/
protected function _construct()
{
parent::_construct();
$this->setDefaultSort('rule_id');
$this->setDefaultDir('ASC');
$this->setUseAjax(true);
}
示例11: _construct
/**
* {@inheritdoc}
*/
protected function _construct()
{
parent::_construct();
$this->setId('customer_orders_grid');
$this->setDefaultSort('created_at', 'desc');
$this->setUseAjax(true);
}
示例12: _construct
/**
* {@inheritdoc}
*/
protected function _construct()
{
parent::_construct();
$this->setId('searchindexGrid');
$this->setDefaultSort('stopword_id');
$this->setDefaultDir('asc');
}
示例13: _construct
/**
* Set grid params
*
* @return void
*/
protected function _construct()
{
parent::_construct();
$this->setId('product_question_grid');
$this->setDefaultSort('question_id');
$this->setUseAjax(true);
}
示例14: _construct
/**
* Class constructor
*
* @return void
*/
protected function _construct()
{
parent::_construct();
$this->setDefaultSort('role_user_id');
$this->setDefaultDir('asc');
$this->setId('roleUserGrid');
$this->setUseAjax(true);
}
示例15: _construct
/**
* @return void
*/
protected function _construct()
{
parent::_construct();
$this->setId('slidersGrid');
$this->setDefaultSort('id');
$this->setDefaultDir('DESC');
$this->setVarNameFilter('tandinh_banner_filter');
}