Example #1
0
 /**
  * Builds the template object with string and markers
  *
  * @param string $text Template as text with Typo3-like markers
  * @param string $begin Marker for start sequence with '*' as wildcard
  * @param string $end Marker for stop sequence with '*' as wildcard
  * @return \Aimeos\MW\Template\Iface
  */
 public function __construct($text, $begin = '<!--###$-->', $end = '<!--$###-->')
 {
     parent::__construct($text, $begin, $end);
 }
Example #2
0
 /**
  * Builds the statement object with string and markers.
  *
  * @param string $text Statement as text
  * @param string $begin Marker for start sequence with '*' as wildcard
  * @param string $end Marker for stop sequence with '*' as wildcard
  */
 public function __construct($text, $begin = '/*-$*/', $end = '/*$-*/')
 {
     parent::__construct($text, $begin, $end);
 }