Example #1
0
 public function attributes()
 {
     $attributes = array();
     foreach ($this->attributes as $attribute => $value) {
         $attributes[] = in_array($attribute, RaspArray::keys($this->fields)) ? $this->fields[$attribute] : $attribute;
     }
     return $attributes;
 }
Example #2
0
 public function initilize($options)
 {
     if (isset($options['source'])) {
         $this->source = $options['source'];
         return $this->handler = fopen($this->source, RaspArray::index($options, 'mode', 'r'));
     } else {
         return false;
     }
 }
Example #3
0
 public static function item_lookup($request_params, $connection_params = array())
 {
     return self::request_item_by_asin(RaspArray::delete($request_params, 'ItemId'), $request_params, $connection_params);
 }