Ejemplo n.º 1
0
    public function render()
    {
        if (!$this->init_flag) {
            $this->init_flag = true;
            return "";
        }
        $res = $this->sql->select($this->request);
        return $this->render_set($res);
    }
}
class DistinctOptionsConnector extends OptionsConnector
{
    /*! render self
    		process commands, return data as XML, not output data to stdout, ignore parameters in incoming request
    		@return
    			data as XML string
    	*/
    public function render()
    {
        if (!$this->init_flag) {
            $this->init_flag = true;
            return "";
        }
        $res = $this->sql->get_variants($this->config->text[0]["db_name"], $this->request);
        return $this->render_set($res);
    }
}
ConnectorSecurity::$security_var = "webix_security";
Connector::$filter_var = "filter";
Connector::$kids_var = "webix_kids";