You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+66-2Lines changed: 66 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,71 @@ public function bar()
86
86
}
87
87
```
88
88
89
-
PS Underlying library usage
89
+
Prestashop Underlying library usage
90
90
---------------------------
91
91
92
-
You may find complete documentation and tutorials regarding Prestashop Web Service Library in the [Prestashop Documentation](http://doc.prestashop.com/display/PS16/Using+the+PrestaShop+Web+Service).
92
+
You may find complete documentation and tutorials regarding Prestashop Web Service Library in the [Prestashop Documentation](http://doc.prestashop.com/display/PS16/Using+the+PrestaShop+Web+Service).
93
+
94
+
Helper methods
95
+
--------------
96
+
97
+
I've added some helper methods to reduce development time:
98
+
99
+
### Retrieving resource schema and filling data for posting
100
+
101
+
You may call `getSchema()` method to retrieve the requested resource schema. You may then fill the schema with an associative array of data with `fillSchema()` method.
102
+
103
+
```php
104
+
105
+
$xmlSchema=Prestashop::getSchema('categories'); //returns a SimpleXMLElement instance with the desired schema
0 commit comments