Skip to content

Commit

Permalink
MAGETWO-32796: creation of m2-sample-servicecontract-replacement exte…
Browse files Browse the repository at this point in the history
…nsion

- MAGETWO-35441: Implement servicecontract-replacement extension
  • Loading branch information
Maksym Aposov committed Apr 2, 2015
1 parent 14c81e5 commit 4c487c0
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sample-bundle-all/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
],
"require": {
"magento/sample-module-minimal": "~1.0",
"magento/sample-webapi-client": "~1.0"
"magento/sample-module-webapi-client": "~1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ class Index extends \Magento\Framework\App\Action\Action
*/
private $resultPageFactory;

/**
* @param Context $context
* @param \Magento\Framework\View\Result\PageFactory $resultPageFactory
*/
public function __construct(
Context $context,
\Magento\Framework\View\Result\PageFactory $resultPageFactory
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ This is one of a collection of examples to demonstrate the features of Magento 2

## Technical feature

This component demonstrates usage of Product REST API to get list of products filtered with help of SearchCriteria filters
A simple page is displayed to collect data from a user and an ajax call is executed to get list of products. Products are filtered with help of SearchCriteria filters set by user.
(example.png)


## Installation

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "magento/sample-module-minimal",
"name": "magento/sample-module-webapi-client",
"description": "A module to demonstrate REST API functionality",
"type": "magento2-module",
"version": "1.0.0",
Expand Down
File renamed without changes.

0 comments on commit 4c487c0

Please sign in to comment.