Paradox/Client.php
public function createAQLFunction($name, $code)
    {
        return $this->getToolbox($this->_currentConnection)->getServer()->createAQLFunction($name, $code);
    }
public function createAQLFunction($name, $code)
    {
        return $this->getToolbox($this->_currentConnection)->getServer()->createAQLFunction($name, $code);
    }
Register an AQL function with the server.
@param  string          $name The name of the server
@param  string          $code The javascript code of the function.
@throws ServerException