src/wcmf/lib/model/mapper/SelectStatement.php
public function getSql() {
    $cacheKey = self::getCacheId($this->id);
    if (!isset($this->cachedSql[$cacheKey])) {
      $sql = trim((new Sql($this->getAdapter()))->buildSqlString($this));
      $this->cachedSql[$cacheKey] = $sql;
    }
    return $this->cachedSql[$cacheKey];
  }
public function getSql() {
    $cacheKey = self::getCacheId($this->id);
    if (!isset($this->cachedSql[$cacheKey])) {
      $sql = trim((new Sql($this->getAdapter()))->buildSqlString($this));
      $this->cachedSql[$cacheKey] = $sql;
    }
    return $this->cachedSql[$cacheKey];
  }
public function getSql ( ) { $ cacheKey = self :: getCacheId ( $ this -> id ) ; if ( ! isset ( $ this -> cachedSql [ $ cacheKey ] ) ) { $ sql = trim ( ( new Sql ( $ this -> getAdapter ( ) ) ) -> buildSqlString ( $ this ) ) ; $ this -> cachedSql [ $ cacheKey ] = $ sql ; } return $ this -> cachedSql [ $ cacheKey ] ; }
Get the sql string for this statement
@return String
Get the sql string for this statement