Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Protected Attributes
Zend_Json_Expr Class Reference

Public Member Functions

 __construct ($expression)
 
 __toString ()
 

Protected Attributes

 $_expression
 

Detailed Description

Definition at line 51 of file Expr.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $expression)

Constructor

Parameters
string$expressionthe expression to hold.
Returns
void

Definition at line 66 of file Expr.php.

67  {
68  $this->_expression = (string) $expression;
69  }

Member Function Documentation

◆ __toString()

__toString ( )

Cast to string

Returns
string holded javascript expression.

Definition at line 76 of file Expr.php.

77  {
78  return $this->_expression;
79  }

Field Documentation

◆ $_expression

$_expression
protected

Definition at line 58 of file Expr.php.


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