Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions phpFlickr.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class phpFlickr {
*/
var $max_cache_rows = 1000;

function phpFlickr ($api_key, $secret = NULL, $die_on_error = false) {
function __construct ($api_key, $secret = NULL, $die_on_error = false) {
//The API Key must be set before any calls can be made. You can
//get your own at https://www.flickr.com/services/api/misc.api_keys.html
$this->api_key = $api_key;
Expand Down Expand Up @@ -1704,7 +1704,7 @@ class phpFlickr_pager {
var $total = null, $page = 0, $pages = null, $photos, $_extra = null;


function phpFlickr_pager($phpFlickr, $method = null, $args = null, $per_page = 30) {
function __construct($phpFlickr, $method = null, $args = null, $per_page = 30) {
$this->per_page = $per_page;
$this->method = $method;
$this->args = $args;
Expand Down