here is the gist:
Code: Select all
public function getPhotos($album)
{
$data= $this->_query(GETPHOTOS,array("album"=>131230510244007));
return $data;
}
public function _query($q,$args=null)
{
$album = $args['album'];
echo $album;
return $this->doSomethingWithAlbum($album);
}