本文整理汇总了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();
}
示例2: __construct
public function __construct()
{
$this->_controller = 'adminhtml_transactionalemail_mandrill';
$this->_blockGroup = 'monkey';
$this->_headerText = Mage::helper('monkey')->__('Verified Email Addresses');
parent::__construct();
}
示例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'));
}
示例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');
// ---------------------------------------
}
示例5: __construct
public function __construct()
{
$this->_controller = 'report_shopcart_customer';
$this->_headerText = Mage::helper('reports')->__('Customers');
parent::__construct();
$this->_removeButton('add');
}
示例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();
}
示例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');
}
}
}
示例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');
}
示例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();
}
示例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');
}
示例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();
}
示例12: _prepareLayout
protected function _prepareLayout()
{
if (!$this->getRequest()->isXmlHttpRequest()) {
$this->getLayout()->getBlock('head')->addItem('skin_css', 'sagepaysuite/css/sagePaySuite.css');
}
return parent::_prepareLayout();
}
示例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();
}
示例14: __construct
public function __construct()
{
$this->_controller = 'adminhtml_student';
$this->_blockGroup = 'matword_students';
$this->_headerText = $this->__('Student');
parent::__construct();
}