You are here

function flickr_is_nsid in Flickr 6

Same name and namespace in other branches
  1. 5 flickr.inc \flickr_is_nsid()
  2. 7 flickr.inc \flickr_is_nsid()
3 calls to flickr_is_nsid()
flickr_admin_settings_submit in ./flickr.admin.inc
flickr_block in block/flickr_block.module
Implements hook_block().
flickr_user_find_by_identifier in ./flickr.inc
Tries to match an 'identifier' onto a flickr nsid.

File

./flickr.inc, line 383

Code

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