Mage_Core_Model_Translate_Expr Class Reference
List of all members.
Detailed Description
Translate expression object
- Author:
- Magento Core Team <core@magentocommerce.com>
Definition at line 32 of file Expr.php.
Constructor & Destructor Documentation
__construct |
( |
$ |
text = '' , |
|
|
$ |
module = '' | |
|
) |
| | |
Definition at line 37 of file Expr.php.
00038 {
00039 $this->_text = $text;
00040 $this->_module = $module;
00041 }
Member Function Documentation
getCode |
( |
$ |
separator = '::' |
) |
|
Retrieve expression code
- Parameters:
-
- Returns:
- string
Definition at line 81 of file Expr.php.
00082 {
00083 return $this->getModule().$separator.$this->getText();
00084 }
Retrieve expression module
- Returns:
- string
Definition at line 70 of file Expr.php.
00071 {
00072 return $this->_module;
00073 }
Retrieve expression text
- Returns:
- string
Definition at line 60 of file Expr.php.
00061 {
00062 return $this->_text;
00063 }
Definition at line 49 of file Expr.php.
00050 {
00051 $this->_module = $module;
00052 return $this;
00053 }
Definition at line 43 of file Expr.php.
00044 {
00045 $this->_text = $text;
00046 return $this;
00047 }
Member Data Documentation
The documentation for this class was generated from the following file:
- app/code/core/Mage/Core/Model/Translate/Expr.php