예제 #1
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
  * @return MW_Template_Interface
  */
 public function __construct($text, $begin = '/*-$*/', $end = '/*$-*/')
 {
     parent::__construct($text, $begin, $end);
 }
예제 #2
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 MW_Template_Interface
  */
 public function __construct($text, $begin = '<!--###$-->', $end = '<!--$###-->')
 {
     parent::__construct($text, $begin, $end);
 }