Location: PHPKode > scripts > JoomlaRadio > joomlaradio/administrator/components/com_joomlaradio6/controller.php
<?php
/**
 * Joomla! 1.5 component JoomlaRadio6
 *
 * @version $Id: controller.php 2009-03-09 12:24:08 svn $
 * @author RvA
 * @package Joomla
 * @subpackage JoomlaRadio6
 * @license Copyright (c) 2009 - All Rights Reserved
 *
 * Joomla Radio 6.0
 *
 * This component file was created using the Joomla Component Creator by Not Web Design
 * http://www.notwebdesign.com/joomla_component_creator/
 *
 */

// no direct access
defined('_JEXEC') or die('Restricted access');

jimport( 'joomla.application.component.controller' );
require_once( JPATH_COMPONENT.DS.'helpers'.DS.'helper.php' );

/**
 * JoomlaRadio6 Controller
 *
 * @package Joomla
 * @subpackage JoomlaRadio6
 */
class Joomlaradio6Controller extends JController {
    /**
     * Constructor
     * @access private
     * @subpackage JoomlaRadio6
     */
    function __construct() {
        //Get View
        if(JRequest::getCmd('view') == '') {
            JRequest::setVar('view', 'default');
        }
        $this->item_type = 'Default';
        parent::__construct();
    }
}
?>
Return current item: JoomlaRadio