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; }
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; } }
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); }