You are here

function flickr_is_nsid in Flickr 7

Same name and namespace in other branches
  1. 5 flickr.inc \flickr_is_nsid()
  2. 6 flickr.inc \flickr_is_nsid()

Flickr is NSID.

4 calls to flickr_is_nsid()
flickr_admin_settings_submit in ./flickr.admin.inc
Submit form data.
flickr_block_save in block/flickr_block.module
Implements hook_block_save().
flickr_groups_getinfo in ./flickr.api.inc
Returns info about a given group.
flickr_user_find_by_identifier in ./flickr.inc
Tries to match an 'identifier' onto a flickr nsid.

File

./flickr.inc, line 462
The Flickr API functions.

Code

function flickr_is_nsid($id) {
  return preg_match('/^\\d+@N\\d+$/', $id);
}