<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
 
// import Joomla controller library
jimport('joomla.application.component.controller');
 
/**
 * General Controller of MassContent component
 */
class MassContentController extends JController
{
    
    protected $default_view = 'articles';
    
	/**
	 * display task
	 *
	 * @return void
	 */
	function display($cachable = false) 
	{
		// set default view if not set        
		JRequest::setVar('view', JRequest::getCmd('view', $this->default_view));
 
		// call parent behavior
		parent::display($cachable);
 
		// Set the submenu
		//MassContentHelper::addSubmenu('messages');

        //$link = JURI::base().'index.php?option='.JRequest::getCmd('option').'&view=cpanel';
        //JSubMenuHelper::addEntry(JText::_('COM_MASSCONTENT_SUBMENU_CPANEL'), $link);
        //$link = JURI::base().'index.php?option='.JRequest::getCmd('option').'&view=content';
 		//JSubMenuHelper::addEntry(JText::_('COM_MASSCONTENT_SUBMENU_ARTICLE'), $link);
	}
}
