Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Protected Attributes
Zend_Db_Expr Class Reference
Inheritance diagram for Zend_Db_Expr:
Expression SubSelect Expression ColumnValueExpression ConcatExpression LimitExpression LookupExpression UnionExpression

Public Member Functions

 __construct ($expression)
 
 __toString ()
 

Protected Attributes

 $_expression
 

Detailed Description

Definition at line 49 of file Expr.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $expression)

Instantiate an expression, which is just a string stored as an instance member variable.

Parameters
string$expressionThe string containing a SQL expression.

Definition at line 64 of file Expr.php.

65  {
66  $this->_expression = (string) $expression;
67  }

Member Function Documentation

◆ __toString()

__toString ( )
Returns
string The string of the SQL expression stored in this object.

Definition at line 72 of file Expr.php.

73  {
74  return $this->_expression;
75  }
$_expression
Definition: Expr.php:56

Field Documentation

◆ $_expression

$_expression
protected

Definition at line 56 of file Expr.php.


The documentation for this class was generated from the following file: