function smiley_get_all in Smiley 7
1 call to smiley_get_all()
- smiley_filter_process in ./
smiley.module - Smileys filter process callback.
File
- ./
smiley.module, line 154 - Implements the necessary hooks.
Code
function smiley_get_all() {
$cache =& drupal_static(__FUNCTION__);
if (!isset($cache)) {
$cache = db_query('SELECT * FROM {smiley} WHERE status=1')
->fetchAll();
}
return $cache;
}