<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>> Hi Marc,<br>
><br>
> Hi,<br>
>> can someone explain the goal of this method? AFAIK it's never called.<br>
>><br>
>><br>
> I introduce this method inside PMA_DisplayResults class.<br>
> As you mentioned, this method has used nowhere.<br>
> I thought that this will useful for further improvements as well generally<br>
> getter setter methods use inside classes.<br>
> But not sure it will definitely use in future.<br>
><br>
> It can be removed since it is not using at the moment.<br>
> What should be better ?<br>
><br>
> Regards !<br>
<br>
</div>Chanaka,<br>
I'm not sure, let's see opinions of others on this.<br></blockquote></div></div></blockquote></div><div>I think, as to set the local PMA_CommonFunctions object of any class using setCommonFunctions(), we would always need the existing single object using PMA_CommonFunctions::getInstance().</div>
<div>And when we use local getCommonFunctions(), it already sets the local PMA_CommonFunctions object to PMA_CommonFunctions::getInstance(). So I see no particular utility of setCommonFunctions().</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">
<div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div><br></div>Hi Marc,<br><br>I introduce common setter method for set any property of that class.<br>
So I'll remove<span> setCommonFunctions()</span> function since the expected behavior can obtain from the common setter.</div></blockquote></div></blockquote></div><br clear="all">Hi Atul,<br><br>Seems that is the point.<br>
Since PMA_CommonFunctions is a singleton class, that method makes no sense.<br>Anyway I'm going to remove it. :)<br><br>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>