Conditions | 1 |
Paths | 1 |
Total Lines | 30 |
Code Lines | 19 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | public function setSizeSearch($size) |
||
18 | { |
||
19 | $this->search = array( |
||
20 | 'locationNumber' => $this->location, |
||
21 | 'criteria' => array( |
||
22 | 'entry' => array( |
||
23 | 'key'=> 'Size', |
||
24 | 'value'=>$size |
||
25 | ) |
||
26 | ), |
||
27 | 'options' => array( |
||
28 | 'price' => array( |
||
29 | 'cost'=>'1', |
||
30 | 'retail'=>'1' |
||
31 | ), |
||
32 | 'availability' => array( |
||
33 | 'local'=>'1' |
||
34 | ), |
||
35 | 'productSpec'=> array( |
||
36 | 'entry'=> array( |
||
37 | 'key'=>'SpeedRating' |
||
38 | ), |
||
39 | 'entry'=> array( |
||
40 | 'key'=>'TemperatureRating' |
||
41 | ) |
||
42 | ), |
||
43 | 'includeRebates'=>'1' |
||
44 | ) |
||
45 | ); |
||
46 | return $this->search; |
||
47 | } |
||
96 | } |