Tuitter_Users::getPrevCursor

Get the cursor of the previous reuslt page.

This method returns the cursor only when this object was returned by the functions like Tuitter::getFollowers with cursor option.

getPrevCursor()

Return value

Returns the numerical cursor of the previous result page.

Examples

$opt = array('cursor' => -1);
$users = $tuitter->getFollowers($opt);
// do something to the first page

// specifies the cursor of the next page
$opt['cursor'] = $users->getNextCursor();
$users = $tuitter->getFollowers($opt);
// do something to the next page

// specifies the cursor of the previous page
$opt['cursor'] = $users->getPrevCursor();
$users = $tuitter->getFollowers($opt);
// do something to the previous page again
//    :