示例#1
0
文件: functions.php 项目: rud0lph/HAL
/**
 * Filter data according to a filter. Uses ContentModel::Filter()
 *
 * @param $data string the data-string to filter.
 * @param $filter string the filter to use.
 * @returns string the filtered string.
 */
function filter_data($data, $filter)
{
    return ContentModel::Filter($data, $filter);
}