function loft_data_grids_ns in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 loft_data_grids.module \loft_data_grids_ns()
Create a fully-qualified ns from classnmae
Parameters
string $classname:
Return value
string
Related topics
5 calls to loft_data_grids_ns()
- loft_data_grids_exporter in ./
loft_data_grids.module - Instantiate a new ExportData object
- loft_data_grids_export_data in ./
loft_data_grids.module - Instantiate a new ExportData object
- loft_data_grids_formatter in ./
loft_data_grids.module - Instantiate a new Formatter object.
- loft_data_grids_info in ./
loft_data_grids.module - Return info about the export formats available
- _loft_data_grids_get_exporter_names in ./
loft_data_grids.module - Return an array of Exporter classnames dynamically loaded and cached
File
- ./
loft_data_grids.module, line 190 - Base module file for loft_data_grids
Code
function loft_data_grids_ns($classname) {
$classname = trim($classname, '\\');
$ns = 'AKlump\\LoftDataGrids\\';
if (strpos($classname, $ns) !== 0) {
$classname = $ns . $classname;
}
return $classname;
}