<?php


class ConsultaSQL extends Consulta
{
  private $sql;
  private $ua;

  public function __construct($sql, $ua = null)
  {
    $this->sql = $sql;
    if ($ua)
    {
      parent::__construct($ua);
    }
    else
    {
      parent::__construct();
    }

  }

  protected function armarDefinicion()
  {
  }

  protected function setConsulta() 
  {
    $this->consulta = $this->sql;
  }

}