Location: PHPKode > projects > Chalange > com_chalange/administrator/controller.php
<?php
defined( '_JEXEC' ) or die( 'Restricted access' );


jimport( 'joomla.application.component.controller' );

 /**
  * Chalange Component Controller
  *
  * @package Chalange
  */

  class ChalangeAdminController extends JController
  {
		/**
		 * Method to show a mycomponent view
		 */
		function display()
		{
			 // Set a default view (carreras) if none exists
			 if ( ! JRequest::getCmd( 'view' ) ) {
					JRequest::setVar('view', 'chalangesAdmin' );
			 }
 			parent::display();
  		}
  }
?>
Return current item: Chalange