[Phpmyadmin-devel] Refactoring insert-edit

Thilina Buddika Abeyrathna thilinaabeyrathna at gmail.com
Sun May 13 09:12:12 CEST 2012


Hi Marc,
when I'm writing functions for columns of insertForm I need to pass all the
following parameters to the functions.
$field, $backup_field, $field_name_appendix, $unnullify_trigger, $tabindex,
$tabindex_for_value, $idindex, $data
So function signature is very long which is somewhat ugly, Is it ok to have
a global parameter array for insert_edit.lib.php file. Does this break the
refactoring?

-- 
Regards.

Thilina Buddika Abeyrathna,
Department of Computer Engineering,
Faculty Of Engineering,
University of Peradeniya,
Sri Lanka.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20120513/5039499b/attachment.html>


More information about the Developers mailing list