function fontyourface_get_fonts in @font-your-face 6
Same name and namespace in other branches
- 6.2 fontyourface.module \fontyourface_get_fonts()
- 7.2 fontyourface.module \fontyourface_get_fonts()
- 7 fontyourface.module \fontyourface_get_fonts()
Gets all enabled fonts.
2 calls to fontyourface_get_fonts()
- fontyourface_admin_page in ./
fontyourface.module - Admin page shows enabled fonts with link to add.
- fontyourface_preprocess_page in ./
fontyourface.module - Implements template_preprocess_page().
File
- ./
fontyourface.module, line 551
Code
function fontyourface_get_fonts() {
$fonts = array();
$results = db_query('SELECT * FROM {fontyourface}');
while ($result = db_fetch_object($results)) {
$fonts[] = $result;
}
// while
return $fonts;
}