TROIKA.ASP - the MVC framework

Forward.js

Summary

Contains Forward class.

This is part of Troika.ASP Framework - web development MVC framework for ASP 3.0. Please visit www.troika-asp.com for more details.



Version: $Revision: 1.3 $

Author: Pavel Chuchev pav@troika-asp.com


Class Summary
Forward This is Forward class - an indirect handle to view.

/**
* @fileoverview Contains <tt>Forward</tt> class.
*
* <p>
* This is part of Troika.ASP Framework - web development MVC framework for ASP 3.0.
* Please visit {@link http://www.troika-asp.com www.troika-asp.com} for more details.
* </p>
*
* @author Pavel Chuchev pav@troika-asp.com
* @version $Revision: 1.3 $
*/
/**
* Constructs a new instance of Forward class.
*
* @class This is <tt>Forward</tt> class - an indirect handle to view.
*
* @constructor
*/
function Forward(redirect, path) {

    if (arguments.length) {

        this.init(redirect, path);
    }
}
/**
* Initializes <tt>XSLEngine</tt>.
*
* @param {boolean} redirect Set to <tt>true</tt> if you would like to redirect.
* @param {String} path The URI to forward or redirect the output.
* @return <tt>Forward</tt> object instance itself.
* @type Forward
*/
Forward.prototype.init = function (redirect, path) {

    this.redirect = redirect || false;
    this.path = path;

    return this;
};

TROIKA.ASP - the MVC framework

www.troika-asp.com
Documentation generated on Sun Jun 15 17:59:32 2008