Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
creditmemo_comments_for_search.php File Reference

Go to the source code of this file.

Variables

 $order = Bootstrap::getObjectManager()->create(Order::class)
 
 $creditmemoFactory = Bootstrap::getObjectManager()->get(CreditmemoFactory::class)
 
 $creditmemo = $creditmemoFactory->createByOrder($order, $order->getData())
 
 $comments
 

Variable Documentation

◆ $comments

$comments
Initial value:
= [
[
'comment' => 'comment 1',
'is_visible_on_front' => 1,
'is_customer_notified' => 1,
],
[
'comment' => 'comment 2',
'is_visible_on_front' => 1,
'is_customer_notified' => 1,
],
[
'comment' => 'comment 3',
'is_visible_on_front' => 1,
'is_customer_notified' => 1,
],
[
'comment' => 'comment 4',
'is_visible_on_front' => 1,
'is_customer_notified' => 1,
],
[
'comment' => 'comment 5',
'is_visible_on_front' => 0,
'is_customer_notified' => 1,
],
]

Definition at line 30 of file creditmemo_comments_for_search.php.

◆ $creditmemo

$creditmemo = $creditmemoFactory->createByOrder($order, $order->getData())

Definition at line 24 of file creditmemo_comments_for_search.php.

◆ $creditmemoFactory

$creditmemoFactory = Bootstrap::getObjectManager()->get(CreditmemoFactory::class)

Definition at line 21 of file creditmemo_comments_for_search.php.

◆ $order

$order = Bootstrap::getObjectManager()->create(Order::class)

Definition at line 17 of file creditmemo_comments_for_search.php.