You are here

function _nodewords_get_tags_data in Nodewords: D6 Meta Tags 6.2

Same name and namespace in other branches
  1. 6.3 nodewords.module \_nodewords_get_tags_data()
1 call to _nodewords_get_tags_data()
nodewords_save_tags in ./nodewords.module
Update or insert tags in the table.

File

./nodewords.module, line 829
Implement an API that other modules can use to add meta tags.

Code

function _nodewords_get_tags_data($name, $options) {
  return db_fetch_object(db_query_range("SELECT * FROM {nodewords} WHERE type = %d AND id = %d AND name = '%s'", $options['type'], $options['id'], $name, 0, 1));
}