本文整理汇总了PHP中Mage_Adminhtml_Block_Widget_Grid_Container类的典型用法代码示例。如果您正苦于以下问题:PHP Mage_Adminhtml_Block_Widget_Grid_Container类的具体用法?PHP Mage_Adminhtml_Block_Widget_Grid_Container怎么用?PHP Mage_Adminhtml_Block_Widget_Grid_Container使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了Mage_Adminhtml_Block_Widget_Grid_Container类的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: __construct
/**
* Block constructor
*/
public function __construct()
{
$this->_controller = 'sitemap';
$this->_headerText = Mage::helper('sitemap')->__('Google Sitemap');
$this->_addButtonLabel = Mage::helper('sitemap')->__('Add Sitemap');
parent::__construct();
}
开发者ID:QiuLihua83,项目名称:magento-enterprise-1.13.1.0,代码行数:10,代码来源:Sitemap.php
示例2: __construct
public function __construct()
{
$this->_controller = 'adminhtml_transactionalemail_mandrill';
$this->_blockGroup = 'monkey';
$this->_headerText = Mage::helper('monkey')->__('Verified Email Addresses');
parent::__construct();
}
开发者ID:technomagegithub,项目名称:inmed-magento,代码行数:7,代码来源:Mandrill.php
示例3: __construct
/**
* Block constructor
*/
public function __construct()
{
$this->_controller = 'system_variable';
$this->_headerText = Mage::helper('adminhtml')->__('Custom Variables');
parent::__construct();
$this->_updateButton('add', 'label', Mage::helper('adminhtml')->__('Add New Variable'));
}
开发者ID:barneydesmond,项目名称:propitious-octo-tribble,代码行数:10,代码来源:Variable.php
示例4: __construct
public function __construct()
{
parent::__construct();
// Initialization block
// ---------------------------------------
$this->setId('ebayConfigurationCategory');
$this->_blockGroup = 'M2ePro';
$this->_controller = 'adminhtml_ebay_configuration_category';
// ---------------------------------------
// Set header text
// ---------------------------------------
$this->_headerText = '';
// ---------------------------------------
// Set buttons actions
// ---------------------------------------
$this->removeButton('back');
$this->removeButton('reset');
$this->removeButton('delete');
$this->removeButton('save');
$this->removeButton('edit');
$this->removeButton('add');
// ---------------------------------------
// Set template
// ---------------------------------------
$this->setTemplate('M2ePro/widget/grid/container/only_content.phtml');
// ---------------------------------------
}
开发者ID:ReeceCrossland,项目名称:essua-m2epro,代码行数:27,代码来源:Category.php
示例5: __construct
public function __construct()
{
$this->_controller = 'report_shopcart_customer';
$this->_headerText = Mage::helper('reports')->__('Customers');
parent::__construct();
$this->_removeButton('add');
}
开发者ID:SalesOneGit,项目名称:s1_magento,代码行数:7,代码来源:Customer.php
示例6: __construct
public function __construct()
{
$this->_controller = 'system_convert_gui';
$this->_headerText = Mage::helper('adminhtml')->__('Profiles');
$this->_addButtonLabel = Mage::helper('adminhtml')->__('Add New Profile');
parent::__construct();
}
开发者ID:SalesOneGit,项目名称:s1_magento,代码行数:7,代码来源:Gui.php
示例7: __construct
public function __construct()
{
$this->_addButtonLabel = Mage::helper('review')->__('Add New Review');
parent::__construct();
$this->_controller = 'review';
// lookup customer, if id is specified
$customerId = $this->getRequest()->getParam('customerId', false);
$customerName = '';
if ($customerId) {
$customer = Mage::getModel('customer/customer')->load($customerId);
$customerName = $customer->getFirstname() . ' ' . $customer->getLastname();
$customerName = $this->escapeHtml($customerName);
}
if (Mage::registry('usePendingFilter') === true) {
if ($customerName) {
$this->_headerText = Mage::helper('review')->__('Pending Reviews of Customer `%s`', $customerName);
} else {
$this->_headerText = Mage::helper('review')->__('Pending Reviews');
}
$this->_removeButton('add');
} else {
if ($customerName) {
$this->_headerText = Mage::helper('review')->__('All Reviews of Customer `%s`', $customerName);
} else {
$this->_headerText = Mage::helper('review')->__('All Reviews');
}
}
}
开发者ID:evinw,项目名称:project_bloom_magento,代码行数:28,代码来源:Main.php
示例8: __construct
/**
* Initialize Grid Container
*
*/
public function __construct()
{
$this->_controller = 'report_search';
$this->_headerText = Mage::helper('Mage_Reports_Helper_Data')->__('Search Terms');
parent::__construct();
$this->_removeButton('add');
}
开发者ID:relue,项目名称:magento2,代码行数:11,代码来源:Search.php
示例9: _construct
protected function _construct()
{
$this->_controller = 'promo_quote';
$this->_headerText = Mage::helper('Mage_SalesRule_Helper_Data')->__('Shopping Cart Price Rules');
$this->_addButtonLabel = Mage::helper('Mage_SalesRule_Helper_Data')->__('Add New Rule');
parent::_construct();
}
开发者ID:natxetee,项目名称:magento2,代码行数:7,代码来源:Quote.php
示例10: _construct
protected function _construct()
{
$this->_controller = 'report_shopcart_product';
$this->_headerText = Mage::helper('Mage_Reports_Helper_Data')->__('Products in carts');
parent::_construct();
$this->_removeButton('add');
}
开发者ID:natxetee,项目名称:magento2,代码行数:7,代码来源:Product.php
示例11: __construct
public function __construct()
{
$this->_controller = 'catalog_product_attribute';
$this->_headerText = AO::helper('catalog')->__('Manage Attributes');
$this->_addButtonLabel = AO::helper('catalog')->__('Add New Attribute');
parent::__construct();
}
开发者ID:ronseigel,项目名称:agent-ohm,代码行数:7,代码来源:Catalog_Product_Attribute.php
示例12: _prepareLayout
protected function _prepareLayout()
{
if (!$this->getRequest()->isXmlHttpRequest()) {
$this->getLayout()->getBlock('head')->addItem('skin_css', 'sagepaysuite/css/sagePaySuite.css');
}
return parent::_prepareLayout();
}
开发者ID:xiaoguizhidao,项目名称:mydigibits,代码行数:7,代码来源:Fraud.php
示例13: __construct
/**
* Modify header & button labels
*
*/
public function __construct()
{
$this->_controller = 'customer_group';
$this->_headerText = Mage::helper('customer')->__('Customer Groups');
$this->_addButtonLabel = Mage::helper('customer')->__('Add New Customer Group');
parent::__construct();
}
开发者ID:hazaeluz,项目名称:magento_connect,代码行数:11,代码来源:Group.php
示例14: __construct
public function __construct()
{
$this->_controller = 'adminhtml_student';
$this->_blockGroup = 'matword_students';
$this->_headerText = $this->__('Student');
parent::__construct();
}
开发者ID:renishkhunt,项目名称:magento-module,代码行数:7,代码来源:Student.php
注:本文中的Mage_Adminhtml_Block_Widget_Grid_Container类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论