コード例 #1
0
ファイル: Product.php プロジェクト: shabbirvividads/magento2
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('googleshopping_selection_search_grid');
     $this->setDefaultSort('id');
     $this->setUseAjax(true);
 }
コード例 #2
0
ファイル: Cart.php プロジェクト: pradeep-wagento/magento2
 /**
  * {@inheritdoc}
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setUseAjax(true);
     $this->_parentTemplate = $this->getTemplate();
     $this->setTemplate('tab/cart.phtml');
 }
コード例 #3
0
ファイル: Grid.php プロジェクト: Atlis/docker-magento2
 /**
  * Initialize Grid block
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_defaultLimit = 200;
     $this->setId('extension_custom_edit_grid');
     $this->setUseAjax(true);
 }
コード例 #4
0
 /**
  * Constructor.
  */
 public function _construct()
 {
     parent::_construct();
     $this->setId('rules');
     $this->setDefaultSort('id');
     $this->setDefaultDir('DESC');
 }
コード例 #5
0
ファイル: Grid.php プロジェクト: aiesh/magento2
 /**
  * Class constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('indexer_processes_grid');
     $this->setFilterVisibility(false);
     $this->setPagerVisibility(false);
 }
コード例 #6
0
ファイル: Grid.php プロジェクト: Doability/magento2dev
 /**
  * initializer
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('attemptsGrid');
     $this->setDefaultSort('date');
     $this->setDefaultDir('DESC');
 }
コード例 #7
0
ファイル: Chooser.php プロジェクト: pradeep-wagento/magento2
 /**
  * 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
0
ファイル: Grid.php プロジェクト: aiesh/magento2
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('recurring_payment_grid');
     $this->setUseAjax(true);
     $this->setSaveParametersInSession(true);
 }
コード例 #9
0
ファイル: Grid.php プロジェクト: pradeep-wagento/magento2
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('wishlistReportGrid');
     $this->setDefaultSort('entity_id');
     $this->setDefaultDir('desc');
 }
コード例 #10
0
ファイル: Grid.php プロジェクト: Doability/magento2dev
 /**
  * initializer
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('simplegoogleshoppingGrid');
     $this->setDefaultSort('simplegoogleshopping_id');
     $this->setDefaultDir('ASC');
 }
コード例 #11
0
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('id');
     $this->setDefaultSort('entity_id');
     $this->setDefaultDir('DESC');
 }
コード例 #12
0
ファイル: Chooser.php プロジェクト: pradeep-wagento/magento2
 /**
  * Block constructor, prepare grid params
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setDefaultSort('rule_id');
     $this->setDefaultDir('ASC');
     $this->setUseAjax(true);
 }
コード例 #13
0
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('attributeGrid');
     $this->setDefaultSort('attribute_code');
     $this->setDefaultDir('ASC');
 }
コード例 #14
0
ファイル: Orders.php プロジェクト: aiesh/magento2
 /**
  * {@inheritdoc}
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('customer_orders_grid');
     $this->setDefaultSort('created_at', 'desc');
     $this->setUseAjax(true);
 }
コード例 #15
0
ファイル: Grid.php プロジェクト: Doability/magento2dev
 /**
  * {@inheritdoc}
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('searchindexGrid');
     $this->setDefaultSort('stopword_id');
     $this->setDefaultDir('asc');
 }
コード例 #16
0
 /**
  * Set grid params
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('product_question_grid');
     $this->setDefaultSort('question_id');
     $this->setUseAjax(true);
 }
コード例 #17
0
ファイル: Grid.php プロジェクト: dragonsword007008/magento2
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('order');
     $this->setDefaultSort('email_order_id');
     $this->setDefaultDir('DESC');
 }
コード例 #18
0
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('wishlist');
     $this->setDefaultSort('wishlist_id');
     $this->setDefaultDir('DESC');
 }
コード例 #19
0
ファイル: Grid.php プロジェクト: tingyeeh/magento2
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('cmsPageGrid');
     $this->setDefaultSort('identifier');
     $this->setDefaultDir('ASC');
 }
コード例 #20
0
ファイル: Product.php プロジェクト: pradeep-wagento/magento2
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('catalog_category_products');
     $this->setDefaultSort('entity_id');
     $this->setUseAjax(true);
 }
コード例 #21
0
 /**
  * Class constructor
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setDefaultSort('role_user_id');
     $this->setDefaultDir('asc');
     $this->setId('roleUserGrid');
     $this->setUseAjax(true);
 }
コード例 #22
0
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('slidersGrid');
     $this->setDefaultSort('id');
     $this->setDefaultDir('DESC');
     $this->setVarNameFilter('tandinh_banner_filter');
 }
コード例 #23
0
ファイル: Grid.php プロジェクト: Doability/magento2dev
 /**
  * {@inheritdoc}
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('searchindexGrid');
     $this->setDefaultSort('position');
     $this->setDefaultDir('asc');
     $this->setFilterVisibility(false);
 }
コード例 #24
0
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setDefaultSort('agreement_id');
     $this->setId('agreementGrid');
     $this->setDefaultDir('asc');
     $this->setSaveParametersInSession(true);
 }
コード例 #25
0
ファイル: Chooser.php プロジェクト: pradeep-wagento/magento2
 /**
  * Block construction, prepare grid params
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setDefaultSort('block_identifier');
     $this->setDefaultDir('ASC');
     $this->setUseAjax(true);
     $this->setDefaultFilter(['chooser_is_active' => '1']);
 }
コード例 #26
0
ファイル: Grid.php プロジェクト: mirasvit/module-blog
 /**
  * {@inheritdoc}
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('blog_category_grid');
     $this->setDefaultSort('entity_id');
     $this->setDefaultDir('DESC');
     $this->setSaveParametersInSession(true);
 }
コード例 #27
0
ファイル: Grid.php プロジェクト: mirasvit/module-blog
 /**
  * {@inheritdoc}
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('blog_author_grid');
     $this->setDefaultSort('user_id');
     $this->setDefaultDir('DESC');
     $this->setSaveParametersInSession(true);
 }
コード例 #28
0
ファイル: Grid.php プロジェクト: OlgaBurtyka/m2
 /**
  * [_construct description].
  *
  * @return [type] [description]
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('coresliderGrid');
     $this->setDefaultSort('coreslider_id');
     $this->setDefaultDir('ASC');
     $this->setSaveParametersInSession(true);
     $this->setFilterVisibility(false);
 }
コード例 #29
0
ファイル: Grid.php プロジェクト: aiesh/magento2
 /**
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('queueGrid');
     $this->setDefaultSort('start_at');
     $this->setDefaultDir('desc');
     $this->setUseAjax(true);
     $this->setEmptyText(__('No Newsletter Found'));
 }
コード例 #30
0
 /**
  * Initial settings.
  *
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setId('customer_view_wishlist_grid');
     $this->setSortable(false);
     $this->setPagerVisibility(false);
     $this->setFilterVisibility(false);
     $this->setEmptyText(__('There are no items in customer\'s shopping cart.'));
 }