Passing $params to a spark? |
[eluser]talkingnews[/eluser]
I'm loading sparks into PyroCMS, a CMS built onto CI (not that this matters). So far, simple sparks have been a doddle and all went well. Now I'm using some sparks from jimdoescode, I'd hit a problem as $params need to get passed. All his instructions (for example http://getsparks.org/packages/dropbox/ve.../HEAD/show) say: Quote:...load the library like this: If I use Code: $this->load->spark('dropbox/1.2.2'); Call to a member function get_request_token() on a non-object ... as the $params (which is an array of credential) aren't getting passed. If I try Code: $this->load->spark('dropbox/1.2.2', $params); because it seems you can't pass $params like that. Been through the spark docs too, and unless I'm missing something, I don't see how I'd do this. Any suggestions? Thanks! |
Welcome Guest, Not a member yet? Register Sign In |