function loft_data_grids_formatter in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 loft_data_grids.module \loft_data_grids_formatter()
Instantiate a new Formatter object.
Parameters
mixed $text:
string $classname Name of the formatter:
Return value
mixed|false
Related topics
File
- ./
loft_data_grids.module, line 249 - Base module file for loft_data_grids
Code
function loft_data_grids_formatter($text, $classname) {
$classname = loft_data_grids_ns($classname);
if (class_exists($classname)) {
return new $classname($page_id);
}
return FALSE;
}