You are here

function theme_cmf_type in Content Management Filter 7

Same name and namespace in other branches
  1. 5 cmf.module \theme_cmf_type()
  2. 6.2 cmf.module \theme_cmf_type()
  3. 6 cmf.module \theme_cmf_type()

Theme (node) type cell on table result.

Parameters

0 or node type key:

Return value

formated (node) type

2 theme calls to theme_cmf_type()
cmf_admin_both_form in ./both.inc
Defines the form for mixed content administration filter results.
cmf_admin_comments_form in ./comment.inc
Defines the form for comments administration filter results.

File

./cmf.module, line 984
@brief Content management filter module file

Code

function theme_cmf_type($type) {
  return db_result(db_query('SELECT name FROM {node_type} WHERE type = "%s"', $type));
}