protected function prepareTpl(&$content)
    {
        $this->modx->loadClass('modParser', '', false, true);
        $parser = new Parser($this->modx);
        $this->modx->toPlaceholders($this->profile);
        $this->modx->toPlaceholders($this->request->args());
        $parser->processElementTags('', $content);
    }
protected function prepareTpl(&$content)
    {
        $this->modx->loadClass('modParser', '', false, true);
        $parser = new Parser($this->modx);
        $this->modx->toPlaceholders($this->profile);
        $this->modx->toPlaceholders($this->request->args());
        $parser->processElementTags('', $content);
    }
protected function prepareTpl ( & $ content ) { $ this -> modx -> loadClass ( 'modParser' , '' , false , true ) ; $ parser = new Parser ( $ this -> modx ) ; $ this -> modx -> toPlaceholders ( $ this -> profile ) ; $ this -> modx -> toPlaceholders ( $ this -> request -> args ( ) ) ; $ parser -> processElementTags ( '' , $ content ) ; }
Parse the tpl replacing placeholders from the profile and request arguments.

@param string $content The content of the tpl.
Parse the tpl replacing placeholders from the profile and request arguments .