@@ 78-88 (lines=11) @@ | ||
75 | * @param type $response |
|
76 | * @return mixed |
|
77 | */ |
|
78 | protected function get_items($response) |
|
79 | { |
|
80 | if( isset($response['Items']['Item']) AND is_array($response['Items']['Item']) ) |
|
81 | { |
|
82 | return $this->items = $response['Items']['Item']; |
|
83 | } |
|
84 | else |
|
85 | { |
|
86 | return FALSE; |
|
87 | } |
|
88 | } |
|
89 | ||
90 | ||
91 | /** |
@@ 59-69 (lines=11) @@ | ||
56 | * @param type $response |
|
57 | * @return mixed |
|
58 | */ |
|
59 | protected function get_items($response) |
|
60 | { |
|
61 | if( isset($response['Items']['Item']) AND is_array($response['Items']['Item']) ) |
|
62 | { |
|
63 | return $this->items = $response['Items']['Item']; |
|
64 | } |
|
65 | else |
|
66 | { |
|
67 | return FALSE; |
|
68 | } |
|
69 | } |
|
70 | ||
71 | ||
72 | /** |