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