public function render($options = array())
    {
        $pattern = $options['pattern'];
        $data = $options['data'];

        return $this->renderTpl($pattern, $data);
    }
public function render($options = array())
    {
        $pattern = $options['pattern'];
        $data = $options['data'];

        return $this->renderTpl($pattern, $data);
    }
public function render ( $ options = array ( ) ) { $ pattern = $ options [ 'pattern' ] ; $ data = $ options [ 'data' ] ; return $ this -> renderTpl ( $ pattern , $ data ) ; }
Render a pattern.

@param array $options Options

@return string The rendered result
Render a pattern .