You are here

function fontyourface_get_font in @font-your-face 6

Same name and namespace in other branches
  1. 6.2 fontyourface.module \fontyourface_get_font()
  2. 7.2 fontyourface.module \fontyourface_get_font()
  3. 7 fontyourface.module \fontyourface_get_font()

Gets a single font.

2 calls to fontyourface_get_font()
fontyourface_admin_edit_form in ./fontyourface.module
Edit form changes CSS selector or disables a single font.
fontyourface_admin_edit_form_submit in ./fontyourface.module
Edit form submit handler.

File

./fontyourface.module, line 567

Code

function fontyourface_get_font($font) {
  return db_fetch_object(db_query('SELECT * FROM {fontyourface} WHERE fid = %d', $font->fid));
}