public function call($aArgs = [])
    {
        if(($this->sInclude))
        {
            require_once $this->sInclude;
        }

        // If the function is an alias for a class method, then instanciate the class
        if(is_array($this->xUserFunction) && is_string($this->xUserFunction[0]))
        {
            $sClassName = $this->xUserFunction[0];
            $this->xUserFunction[0] = new $sClassName;
        }

        return call_user_func_array($this->xUserFunction, $aArgs);
    }
public function call($aArgs = [])
    {
        if(($this->sInclude))
        {
            require_once $this->sInclude;
        }

        // If the function is an alias for a class method, then instanciate the class
        if(is_array($this->xUserFunction) && is_string($this->xUserFunction[0]))
        {
            $sClassName = $this->xUserFunction[0];
            $this->xUserFunction[0] = new $sClassName;
        }

        return call_user_func_array($this->xUserFunction, $aArgs);
    }
public function call ( $ aArgs = [ ] ) { if ( ( $ this -> sInclude ) ) { require_once $ this -> sInclude ; } // If the function is an alias for a class method, then instanciate the class if ( is_array ( $ this -> xUserFunction ) && is_string ( $ this -> xUserFunction [ 0 ] ) ) { $ sClassName = $ this -> xUserFunction [ 0 ] ; $ this -> xUserFunction [ 0 ] = new $ sClassName ; } return call_user_func_array ( $ this -> xUserFunction , $ aArgs ) ; }
Call the registered user function, including an external file if needed
and passing along the specified arguments

@param array         $aArgs                The function arguments

@return void
Call the registered user function including an external file if needed and passing along the specified arguments