示例#1
0
文件: Grid.php 项目: nemphys/magento2
 public function __construct()
 {
     parent::__construct();
     $this->setId('permissionsUserGrid');
     $this->setDefaultSort('username');
     $this->setDefaultDir('asc');
     $this->setUseAjax(true);
 }
示例#2
0
文件: Grid.php 项目: nemphys/magento2
 public function __construct()
 {
     parent::__construct();
     $this->setId('tag_grid');
     $this->setDefaultSort('name');
     $this->setDefaultDir('ASC');
     $this->setUseAjax(true);
 }
示例#3
0
文件: User.php 项目: nemphys/magento2
 public function __construct()
 {
     parent::__construct();
     $this->setDefaultSort('role_user_id');
     $this->setDefaultDir('asc');
     $this->setId('roleUserGrid');
     $this->setDefaultFilter(array('in_role_users' => 1));
     $this->setUseAjax(true);
 }
示例#4
0
文件: Grid.php 项目: nemphys/magento2
 public function __construct()
 {
     parent::__construct();
     $this->setId('roleGrid');
     $this->setSaveParametersInSession(true);
     $this->setDefaultSort('role_id');
     $this->setDefaultDir('asc');
     $this->setUseAjax(true);
 }
示例#5
0
 public function __construct()
 {
     parent::__construct();
     $this->setId('permissionsUserRolesGrid');
     $this->setDefaultSort('sort_order');
     $this->setDefaultDir('asc');
     //$this->setDefaultFilter(array('assigned_user_role'=>1));
     $this->setTitle(Mage::helper('Mage_User_Helper_Data')->__('User Roles Information'));
     $this->setUseAjax(true);
 }
示例#6
0
 public function __construct(array $data = array())
 {
     parent::__construct($data);
     $this->setTemplate('Mage_Backend::widget/grid/extended.phtml');
     $this->_emptyText = Mage::helper('Mage_Backend_Helper_Data')->__('No records found.');
 }
示例#7
0
文件: Grid.php 项目: nemphys/magento2
 /**
  * Initialize grid
  */
 public function __construct()
 {
     parent::__construct();
     $this->setId('reviwGrid');
     $this->setDefaultSort('created_at');
 }