Lines Matching refs:item

30             $item = $exporter->createItem('01120c948ad41a2284ad9f0402fbc7d');
32 $this->addOrdernumbers($item, $itemData);
33 $this->addNames($item, $itemData);
34 $this->addSummaries($item, $itemData);
35 $this->addDescriptions($item, $itemData);
36 $this->addPrices($item, $itemData);
37 $this->addUrls($item, $itemData);
38 $this->addKeywords($item, $itemData);
39 $this->addBonuses($item, $itemData);
40 $this->addSalesFrequencies($item, $itemData);
41 $this->addDateAddeds($item, $itemData);
42 $this->addSorts($item, $itemData);
43 $this->addUsergroups($item, $itemData);
44 $this->addImages($item, $itemData);
45 $this->addAttributes($item, $itemData);
46 $this->addProperties($item, $itemData);
48 $itemsToExport[] = $item;
54 private function addAttributes(Item $item, $itemData) argument
77 $item->addAttribute(new Attribute($attributeName, $attributeValues));
81 private function addBonuses(Item $item, $itemData) argument
83 $item->addBonus(3);
84 $item->addBonus(5, 'LNrLF7BRVJ0toQ==');
87 private function addDateAddeds(Item $item, $itemData) argument
89 $item->addDateAdded(new \DateTime());
90 $item->addDateAdded(new \DateTime(), 'LNrLF7BRVJ0toQ==');
93 private function addDescriptions(Item $item, $itemData) argument
95 …$item->addDescription('With this sneaker you will walk in style. It\'s available in green and blue…
96 $item->addDescription(
102 private function addOrdernumbers(Item $item, $itemData) argument
116 $item->addOrdernumber(new Ordernumber($ordernumber, $usergroup));
121 private function addImages(Item $item, $itemData) argument
136 $item->addImage(new Image($image, $type, $usergroup));
141 private function addKeywords(Item $item, $itemData) argument
155 $item->addKeyword(new Keyword($keyword, $usergroup));
160 private function addNames(Item $item, $itemData) argument
162 $item->addName('Adidas Sneaker');
163 $item->addName('Adidas Men\'s Sneaker', 'LNrLF7BRVJ0toQ==');
166 private function addPrices(Item $item, $itemData) argument
168 $item->addPrice(44.8);
169 $item->addPrice(45.9, 'LNrLF7BRVJ0toQ==');
172 private function addProperties(Item $item, $itemData) argument
203 $item->addProperty($propertyElement);
207 private function addSalesFrequencies(Item $item, $itemData) argument
209 $item->addSalesFrequency(5);
210 $item->addSalesFrequency(10, 'LNrLF7BRVJ0toQ==');
213 private function addSorts(Item $item, $itemData) argument
215 $item->addSort(5);
216 $item->addSort(7, 'LNrLF7BRVJ0toQ==');
219 private function addSummaries(Item $item, $itemData) argument
221 $item->addSummary('A cool and fashionable sneaker');
222 $item->addSummary('A cool and fashionable sneaker for men', 'LNrLF7BRVJ0toQ==');
225 private function addUrls(Item $item, $itemData) argument
227 $item->addUrl('https://www.store.com/sneakers/adidas.html');
231 private function addUsergroups(Item $item, $itemData) argument
239 $item->addUsergroup(new Usergroup($usergroup));