You are here

class LiteralExpression in Drupal driver for SQL Server and SQL Azure 7.3

Same name and namespace in other branches
  1. 7.2 sqlsrv/select.inc \LiteralExpression

Represents a literal that can be used in different parts of the query builders...

Hierarchy

Expanded class hierarchy of LiteralExpression

File

sqlsrv/select.inc, line 583

View source
class LiteralExpression {
  protected $literal;

  /**
   * Get an instance of DatabaseExpression
   *
   * @param mixed $literal
   */
  public function __construct($literal) {
    $this->literal = $literal;
  }
  public function __toString() {
    return $this->literal;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
LiteralExpression::$literal protected property
LiteralExpression::__construct public function Get an instance of DatabaseExpression
LiteralExpression::__toString public function