Varien_Filter_Template_Simple Class Reference

Inheritance diagram for Varien_Filter_Template_Simple:

Varien_Object

List of all members.

Public Member Functions

 setTags ($start, $end)
 filter ($value)

Protected Attributes

 $_startTag = '{{'
 $_endTag = '}}'


Detailed Description

Definition at line 28 of file Simple.php.


Member Function Documentation

filter ( value  ) 

Definition at line 40 of file Simple.php.

00041     {
00042         return preg_replace('#'.$this->_startTag.'(.*?)'.$this->_endTag.'#e', '$this->getData("$1")', $value);
00043     }

setTags ( start,
end 
)

Definition at line 33 of file Simple.php.

00034     {
00035         $this->_startTag = $start;
00036         $this->_endTag = $end;
00037         return $this;
00038     }


Member Data Documentation

$_endTag = '}}' [protected]

Definition at line 31 of file Simple.php.

$_startTag = '{{' [protected]

Definition at line 30 of file Simple.php.


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

Generated on Sat Jul 4 17:25:03 2009 for Magento by  doxygen 1.5.8