check function to build the function in php
<p>well I'll show you a very simple example ...</p>

<pre><code>class menu_r {

    public function anuncio(){
        return $a;
    }

    public function peido(){
        return $b;
    }

    public function running(){

    if(self::anuncio()){
        $retorno.= self::anuncio();
    }

    if(self::peido()){
        $retorno.= self::peido();
    }

    return print $retorno;
}
</code></pre>

<p>I'm using the</p>

<pre><code>$a = new menu_r();
$a-&gt;anuncio();
$a-&gt;running();
</code></pre>

<p>My question is: how do I not show the peido() since he is not being used?
I tried a lot but could not, tried to get_class use, isset, is_object and no work = /</p>
