* 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 WebRegisterCommand extends BaseCommand implements Commandable, Registerable {
+class HtmlRegisterCommand extends BaseCommand implements Commandable, Registerable {
/**
* Protected constructor
*
* @param $resolverInstance An instance of a command resolver class
* @return $commandInstance An instance a prepared command class
*/
- public static final function createWebRegisterCommand (CommandResolver $resolverInstance) {
+ public static final function createHtmlRegisterCommand (CommandResolver $resolverInstance) {
// Get new instance
- $commandInstance = new WebRegisterCommand();
+ $commandInstance = new HtmlRegisterCommand();
// Set the application instance
$commandInstance->setResolverInstance($resolverInstance);
// Assign the register template with the master template as a content ... ;)
$templateInstance->compileTemplate();
- $templateInstance->assignTemplateWithVariable('register_form', 'content');
+ $templateInstance->assignTemplateWithVariable('register_form', 'main_content');
// Load the master template
$templateInstance->loadCodeTemplate($masterTemplate);