app\helpers\featuresHelper::callFunctions PHP Method

callFunctions() public method

public callFunctions ( $name )
    public function callFunctions($name)
    {
        if (method_exists($this, $name)) {
            $this->called = $name;
            echo $this->{$this->called}();
        } else {
            echo 'undefined';
        }
    }