<br><br><div class="gmail_quote">On Sun, May 13, 2012 at 3:23 PM, Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info" target="_blank">marc@infomarc.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Le 2012-05-13 03:12, Thilina Buddika Abeyrathna a écrit :<br>
<div class="im">> Hi Marc,<br>
> when I'm writing functions for columns of insertForm I need to pass all the<br>
> following parameters to the functions.<br>
> $field, $backup_field, $field_name_appendix, $unnullify_trigger, $tabindex,<br>
> $tabindex_for_value, $idindex, $data<br>
> So function signature is very long which is somewhat ugly, Is it ok to have<br>
> a global parameter array for insert_edit.lib.php file. Does this break the<br>
> refactoring?<br>
<br>
</div>Hi Thilina,<br>
I think it's clearer if we see all the parameters in the signature. See<br>
"Split function definitions onto several lines" in [0].<br>
<br>
[0] <a href="http://pear.php.net/manual/en/standards.funcdef.php" target="_blank">http://pear.php.net/manual/en/standards.funcdef.php</a></blockquote><div><br></div><div>Thank you very much Marc, </div></div>-- <br><font face="georgia, serif">Regards.</font><br>

<br><font face="'trebuchet ms', sans-serif" size="4">Thilina Buddika Abeyrathna,</font><br><font face="georgia, serif">Department of Computer Engineering,</font><br><font face="georgia, serif">Faculty Of Engineering,</font><br>

<font face="georgia, serif">University of Peradeniya,</font><div><font face="georgia, serif">Sri Lanka.<br><br></font></div><br>