<p>I am using the Zend Framework.</p>

<p>I have a controller named 'UserController' that has a public function displayAction().</p>

<p>I would like to know how I can get that action method to use a different viewer than the default display.phtml.</p>

<p>Any help is appreciated.</p>

You can use
```
```
$this->render('actionName');
```
```
or, alternatively, you can call a view script directly by calling
```
```
$this->renderScript('path/to/viewscript.phtml');
```
```
For more information, you can take a look at
http://framework.zend.com/manual/en/zend.controller.actionhelpers.html
, specifically the parts about the
```
render()
```
and
```
renderScript()
```
methods.