0
public function getBlock( $tag )
   {
     preg_match ('#<!-- START '. $tag . ' -->(.+?)
         <!-- END '. $tag . ' -->#si', $this->content, $tor);
     $tor = str_replace ('<!-- START '. $tag . ' -->', "", $tor[0]);
     $tor = str_replace ('<!-- END '  . $tag . ' -->', "", $tor);
     return $tor;
}

この関数が何をするか知っている人はいますか?

4

2 に答える 2