You are here

function _smiley_list in Smiley 6

4 calls to _smiley_list()
smiley_admin_list in ./smiley.admin.inc
smiley_filter_process in ./smiley.module
smiley_table in ./smiley.module
_smiley_select_table in ./smiley.module

File

./smiley.module, line 34

Code

function _smiley_list($refresh = 0, $query_suffix = '') {
  static $list;
  if (!$list || $refresh) {
    $list = array();
    $result = db_query('SELECT * FROM {smiley} ' . $query_suffix);
    while ($object = db_fetch_object($result)) {
      $list[] = $object;
    }
  }
  return $list;
}