<br><br><div class="gmail_quote">On Fri, Jun 8, 2012 at 10:58 AM, Chanaka Dharmarathna <span dir="ltr"><<a href="mailto:pe.chanaka.ck@gmail.com" target="_blank">pe.chanaka.ck@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi All,<br><br>I have a doubt of using <b>@see</b> tag in Docblock comments for functions.<br>In the comments of functions PMA_getTable() and PMA_getTableBody() in display_tbl.lib.php file, @see tag is used for different purposes.<br>
As I feel<span> PMA_getTableBody() used that corrrectly.<br></span>What should be the actual behavior ?<br clear="all"><br>Regards !<span class="HOEnZb"><font color="#888888"><br>-- <br>____________________________________<br>
<br>Chanaka Indrajith<br>Bsc.Computer Engineering Undergraduate<br>
Faculty of Engineering<br>University of Peradeniya<br>Sri Lanka<br>____________________________________<br><br>
</font></span></blockquote></div><br>Hi All,<br><br>I am fixing some code violations in my code now.<br>For remove code violation of large comparison in a if condition, what would be the better approach ?<br><br>Ex:- <br>
if ((PMA_strlen($wkbval) > $GLOBALS['cfg']['LimitChars'])<br> && ($_SESSION['tmp_user_values']['display_text'] == self::DISPLAY_PARTIAL_TEXT)<br>) {<br>// code<br>}<br><br>Is that good to use tempory variable insted of using $_SESSION['tmp_user_values']['display_text'] ?<br>
<br clear="all">Regards !<br>-- <br>____________________________________<br><br>Chanaka Indrajith<br>Bsc.Computer Engineering Undergraduate<br>Faculty of Engineering<br>University of Peradeniya<br>Sri Lanka<br>____________________________________<br>
<br>