* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-class WebLoginAreaCommand extends BaseCommand implements Commandable {
+class HtmlLoginAreaCommand extends BaseCommand implements Commandable {
/**
* Name of the action
*/
* @param $resolverInstance An instance of a command resolver class
* @return $commandInstance An instance a prepared command class
*/
- public static final function createWebLoginAreaCommand (CommandResolver $resolverInstance) {
+ public static final function createHtmlLoginAreaCommand (CommandResolver $resolverInstance) {
// Get new instance
- $commandInstance = new WebLoginAreaCommand();
+ $commandInstance = new HtmlLoginAreaCommand();
// Set the application instance
$commandInstance->setResolverInstance($resolverInstance);
// Assign the main template with the master template as a content ... ;)
$templateInstance->compileTemplate();
- $templateInstance->assignTemplateWithVariable('login_main', 'content');
+ $templateInstance->assignTemplateWithVariable('login_main', 'main_content');
// Load the master template
$templateInstance->loadCodeTemplate($masterTemplate);
$applicationInstance = $this->getResolverInstance()->getApplicationInstance();
// Get a resolver
- $actionResolver = WebActionResolver::createWebActionResolver($this->actionName, $applicationInstance);
+ $actionResolver = HtmlActionResolver::createHtmlActionResolver($this->actionName, $applicationInstance);
// Resolve the action
$actionInstance = $actionResolver->resolveAction();