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
Status.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Sales\Block\Adminhtml\Order
;
7
15
class
Status
extends
\Magento\Backend\Block\Widget\Grid\Container
16
{
22
protected
function
_construct
()
23
{
24
$this->_controller =
'adminhtml_order_status'
;
25
$this->_headerText =
__
(
'Order Statuses'
);
26
$this->_addButtonLabel =
__
(
'Create New Status'
);
27
$this->buttonList->add(
28
'assign'
,
29
[
30
'label'
=>
__
(
'Assign Status to State'
),
31
'onclick'
=>
'setLocation(\''
. $this->
getAssignUrl
() .
'\'
)
',
32
'
class
' => '
add
'
33
]
34
);
35
parent::_construct();
36
}
37
43
public function getCreateUrl()
44
{
45
return $this->getUrl('
sales/order_status/
new
');
46
}
47
53
public function getAssignUrl()
54
{
55
return $this->getUrl('
sales/order_status/
assign
');
56
}
57
}
Magento\Sales\Block\Adminhtml\Order\Status\getAssignUrl
getAssignUrl()
Definition:
Status.php:53
__
__()
Definition:
__.php:13
Magento\Framework\View\Element\Template\assign
assign($key, $value=null)
Definition:
Template.php:242
Magento\Sales\Block\Adminhtml\Order
Magento\Sales\Block\Adminhtml\Order\Status\_construct
_construct()
Definition:
Status.php:22
Magento\Sales\Block\Adminhtml\Order\Status
Definition:
Status.php:15