filter_format_allowcache
- Versions
- 4.6 – 6
filter_format_allowcache($format)- 7
filter_format_allowcache($format_id)
Check if text in a certain input format is allowed to be cached.
Code
modules/filter.module, line 605
<?php
function filter_format_allowcache($format) {
static $cache = array();
if (!isset($cache[$format])) {
$cache[$format] = db_result(db_query('SELECT cache FROM {filter_formats} WHERE format = %d', $format));
}
return $cache[$format];
}
?>Login or register to post comments 