[Phpmyadmin-devel] Export plugin
alex.ukf at gmail.com
Wed Feb 22 16:09:26 CET 2012
I was trying to implement some ideas of mine related to the export plugin,
have a small question.
I saw that export.php uses a function called PMA_getPlugins (from
libraries/plugin_interface.lib.php) to get the export list with all of the
That function includes all the files in the libraries/export folder, which
define the options and functions for each of the plugins. After the user
format and submits, one of the exports is selected and used.
I was wondering if there is any reason for using that $plugin_list ( in
$export_list ) or if that variable is actually needed somewhere else except
export.php and libraries/display_export.lib.php, where it displays the list
export plugins. Because if not, I was thinking that the export list could
replaced with a single element which will be an instance of one of the
This way, all the other export plugins don't need to be included, and only
export class will be instantiated and its output functions will be used. I
this scenario and it works, but I don't know if I may cause something else
malfunction in some part. Would you have any objections for such a
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Developers