<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<Mojavi>
	<file>
		<header>&lt;?php 
// +---------------------------------------------------------------------------+
// | This file is part of the Mojavi Builder package.                          |
// | Copyright (c) 2004 Adrian Ritchie.                                        |
// |                                                                           |
// | This package is provided as is. You are allowed to redistribute           |
// | but only if you include this header and do not claim this as your         |
// | own work and do not charge for the package and you distribute it in its   |
// | original form and medium.                                                 |
// |                                                                           |
// | This file complies with the Mojavi 2 class structure.                     |
// +---------------------------------------------------------------------------+
</header>
		<footer>?&gt;</footer>
	</file>
	<action>
		<open>class %module%_%name%Action extends Action 
{</open>
		<constructor>    function %module%_%name%Action ()
    {
    }</constructor>
		<execute>    function execute(&amp;$controller, &amp;$request, &amp;$user) 
    {
    }</execute>
		<getDefaultView>    function getDefaultView(&amp;$controller, &amp;$request, &amp;$user)
    {
        return %default%;
    }</getDefaultView>
		<getPrivilege>   function getPrivilege(&amp;$controller, &amp;$request, &amp;$user)
    {
        return array('%name%', '%namespace%');
    }</getPrivilege>
		<getRequestMethods>    function getRequestMethods()
    {
        return %methods%;
    }</getRequestMethods>
		<handleError>    function handleError(&amp;$controller, &amp;$request, &amp;$user)
    {
        return VIEW_ERROR;
    }</handleError>
		<isSecure>    function isSecure()
    {
        return true;
    }</isSecure>
		<registerValidators>    function registerValidators(&amp;$validatorManager, &amp;$controller, &amp;$request, &amp;$user)
    {
    }</registerValidators>
		<validate>    function validate(&amp;$controller, &amp;$request, &amp;$user)
    {
        return true;
    }</validate>
		<close>}</close>
	</action>
	<view>
		<open>class %module%_%action%View extends View
{</open>
		<constructor>    function &amp; %module%_%action%View ()
    {
    }</constructor>
		<execute>    /**
     * Execute the view.
     *
     * @return a Renderer instance.
     */
    function &amp; execute (&amp;$controller, &amp;$request, &amp;$user)
    {
        $renderer =&amp; $request-&gt;getAttribute('Renderer');

        $renderer-&gt;setTemplate('');

        return $renderer;
    }</execute>
		<cleanup>    /**
     * Cleanup temporary view data.
     */
    function cleanup (&amp;$controller, &amp;$request, &amp;$user)
    {
    }</cleanup>
<close>}</close>
	</view>
</Mojavi>
