當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Extended::_construct方法代碼示例

本文整理匯總了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);
 }
開發者ID:shabbirvividads,項目名稱:magento2,代碼行數:10,代碼來源:Product.php

示例2: _construct

 /**
  * {@inheritdoc}
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setUseAjax(true);
     $this->_parentTemplate = $this->getTemplate();
     $this->setTemplate('tab/cart.phtml');
 }
開發者ID:pradeep-wagento,項目名稱:magento2,代碼行數:10,代碼來源:Cart.php

示例3: _construct

 /**
  * Initialize Grid block
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_defaultLimit = 200;
     $this->setId('extension_custom_edit_grid');
     $this->setUseAjax(true);
 }
開發者ID:Atlis,項目名稱:docker-magento2,代碼行數:12,代碼來源:Grid.php

示例4: _construct

 /**
  * Constructor.
  */
 public function _construct()
 {
     parent::_construct();
     $this->setId('rules');
     $this->setDefaultSort('id');
     $this->setDefaultDir('DESC');
 }
開發者ID:dotmailer,項目名稱:dotmailer-magento2-extension,代碼行數:10,代碼來源:Grid.php

示例5: _construct

 /**
  * Class constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('indexer_processes_grid');
     $this->setFilterVisibility(false);
     $this->setPagerVisibility(false);
 }
開發者ID:aiesh,項目名稱:magento2,代碼行數:12,代碼來源:Grid.php

示例6: _construct

 /**
  * initializer
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('attemptsGrid');
     $this->setDefaultSort('date');
     $this->setDefaultDir('DESC');
 }
開發者ID:Doability,項目名稱:magento2dev,代碼行數:10,代碼來源:Grid.php

示例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']);
 }
開發者ID:pradeep-wagento,項目名稱:magento2,代碼行數:12,代碼來源:Chooser.php

示例8: _construct

 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('recurring_payment_grid');
     $this->setUseAjax(true);
     $this->setSaveParametersInSession(true);
 }
開發者ID:aiesh,項目名稱:magento2,代碼行數:10,代碼來源:Grid.php

示例9: _construct

 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('wishlistReportGrid');
     $this->setDefaultSort('entity_id');
     $this->setDefaultDir('desc');
 }
開發者ID:pradeep-wagento,項目名稱:magento2,代碼行數:10,代碼來源:Grid.php

示例10: _construct

 /**
  * Block constructor, prepare grid params
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setDefaultSort('rule_id');
     $this->setDefaultDir('ASC');
     $this->setUseAjax(true);
 }
開發者ID:pradeep-wagento,項目名稱:magento2,代碼行數:12,代碼來源:Chooser.php

示例11: _construct

 /**
  * {@inheritdoc}
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('customer_orders_grid');
     $this->setDefaultSort('created_at', 'desc');
     $this->setUseAjax(true);
 }
開發者ID:aiesh,項目名稱:magento2,代碼行數:10,代碼來源:Orders.php

示例12: _construct

 /**
  * {@inheritdoc}
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('searchindexGrid');
     $this->setDefaultSort('stopword_id');
     $this->setDefaultDir('asc');
 }
開發者ID:Doability,項目名稱:magento2dev,代碼行數:10,代碼來源:Grid.php

示例13: _construct

 /**
  * Set grid params
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('product_question_grid');
     $this->setDefaultSort('question_id');
     $this->setUseAjax(true);
 }
開發者ID:vladankuzmanovic,項目名稱:ProductFaq,代碼行數:12,代碼來源:Question.php

示例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);
 }
開發者ID:hientruong90,項目名稱:magento2_installer,代碼行數:13,代碼來源:User.php

示例15: _construct

 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('slidersGrid');
     $this->setDefaultSort('id');
     $this->setDefaultDir('DESC');
     $this->setVarNameFilter('tandinh_banner_filter');
 }
開發者ID:kietluu,項目名稱:magento2-backend-training,代碼行數:11,代碼來源:Grid.php


注:本文中的Magento\Backend\Block\Widget\Grid\Extended::_construct方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。