public function sqlBuilder($domain)
    {
        switch ($domain) {
            case 'connexion' :
                return new module_report_sqlconnexion($this->app, $this);
                break;
            case 'download' :
  // no_file_put_contents("/tmp/report.txt", sprintf("%s (%s)\n\n", __FILE__, __LINE__), FILE_APPEND);
                return new module_report_sqldownload($this->app, $this);
                break;
            case 'question' :
                return new module_report_sqlquestion($this->app, $this);
                break;
            case 'action' :
                return new module_report_sqlaction($this->app, $this);
                break;
            default:
                return $this->req;
                break;
        }
    }
public function sqlBuilder($domain)
    {
        switch ($domain) {
            case 'connexion' :
                return new module_report_sqlconnexion($this->app, $this);
                break;
            case 'download' :
  // no_file_put_contents("/tmp/report.txt", sprintf("%s (%s)\n\n", __FILE__, __LINE__), FILE_APPEND);
                return new module_report_sqldownload($this->app, $this);
                break;
            case 'question' :
                return new module_report_sqlquestion($this->app, $this);
                break;
            case 'action' :
                return new module_report_sqlaction($this->app, $this);
                break;
            default:
                return $this->req;
                break;
        }
    }
public function sqlBuilder ( $ domain ) { switch ( $ domain ) { case 'connexion' : return new module_report_sqlconnexion ( $ this -> app , $ this ) ; break ; case 'download' : // no_file_put_contents("/tmp/report.txt", sprintf("%s (%s)\n\n", __FILE__, __LINE__), FILE_APPEND); return new module_report_sqldownload ( $ this -> app , $ this ) ; break ; case 'question' : return new module_report_sqlquestion ( $ this -> app , $ this ) ; break ; case 'action' : return new module_report_sqlaction ( $ this -> app , $ this ) ; break ; default : return $ this -> req ; break ; } }
Retourne un objet qui genere la requete selon le type de report
@param  string                     $domain
@return module_report_sqlconnexion
Retourne un objet qui genere la requete selon le type de report