<?php
/**
 * @package    pixelcms_articles
 *
 * @author     christophf <your@email.com>
 * @copyright  A copyright
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 * @link       http://your.url.com
 */

defined('_JEXEC') or die;

/**
 * Pixelcms_articles helper.
 *
 * @package     A package name
 * @since       1.0
 */
class Pixelcms_articlesHelper
{
	/**
	 * Render submenu.
	 *
	 * @param   string  $vName  The name of the current view.
	 *
	 * @return  void.
	 *
	 * @since   1.0
	 */
	public function addSubmenu($vName)
	{
		JHtmlSidebar::addEntry(JText::_('COM_PIXELCMS_ARTICLES'), 'index.php?option=com_pixelcms_articles&view=pixelcms_articles', $vName == 'pixelcms_articles');
	}
}
