Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-sales
Block
Adminhtml
Order.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Sales\Block\Adminhtml
;
7
13
class
Order
extends
\Magento\Backend\Block\Widget\Grid\Container
14
{
20
protected
function
_construct
()
21
{
22
$this->_controller =
'adminhtml_order'
;
23
$this->_blockGroup =
'Magento_Sales'
;
24
$this->_headerText =
__
(
'Orders'
);
25
$this->_addButtonLabel =
__
(
'Create New Order'
);
26
parent::_construct();
27
if
(!$this->_authorization->isAllowed(
'Magento_Sales::create'
)) {
28
$this->buttonList->remove(
'add'
);
29
}
30
}
31
37
public
function
getCreateUrl
()
38
{
39
return
$this->
getUrl
(
'sales/order_create/start'
);
40
}
41
}
Magento\Sales\Block\Adminhtml
Magento\Sales\Block\Adminhtml\Order
Definition:
Order.php:13
Magento\Sales\Block\Adminhtml\Order\_construct
_construct()
Definition:
Order.php:20
Magento\Sales\Block\Adminhtml\Order\getCreateUrl
getCreateUrl()
Definition:
Order.php:37
__
__()
Definition:
__.php:13
Magento\Framework\View\Element\AbstractBlock\getUrl
getUrl($route='', $params=[])
Definition:
AbstractBlock.php:773