[Phpmyadmin-devel] Refactoring: Displaying query results
marc at infomarc.info
Sun Jun 17 13:09:32 CEST 2012
Le 2012-06-16 00:26, Chanaka Dharmarathna a écrit :
> Hi All,
> I have already create a class for display_tbl.lib.php
> andPMA_getDataCellForBlobField() in master used the
> PMA_mimeDefaultFunction() function as a global function.
> EX :
> $str = 'PMA_mimeDefaultFunction';
> I have moved the PMA_mimeDefaultFunction() from display_tbl.lib.php (in
> master) to common.lib.php file due to the way it has used inside
> Now I'm implementing class behavior in common.lib.php file.
> So can anyone tell me a file, which contain global function, to where I
> should again move this PMA_mimeDefaultFunction().
> Regards !
I believe that this function should not be global, as it's only called
from other functions in libraries/DisplayResults.class.php, right?
More information about the Developers