Location: PHPKode > projects > injooosm > components/com_injooosm/views/cats/view.html.php
<?php
/**
 * Joomla! 1.5 component injooosm
 *
 * @version $Id: view.html.php 2009-11-22 14:03:00$
 * @author Christian Knorr
 * @package injooosm
 * @subpackage frontend
 * @license GNU/GPL
 * @filesource
 *
 * 
 */

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

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

/**
 * HTML View class for the injooosm component
 */
class injooosmViewCats extends JView {

    function display($tpl = null) {
        global $mainframe;

        $lh = layoutHelper::navigation();
        $footer = layoutHelper::footer();
        $pathway =& $mainframe->getPathway();
        $pathway->addItem(JText::_('OSM_CATS'), '');
        $mainframe->setPagetitle(JText::_('OSM_CATS'));
        $model = $this->getModel();
        $cats = $model->getCats();

        $this->assignRef('lh',          $lh);
        $this->assignRef('footer',      $footer);
        $this->assignRef('cats',        $cats);
  
        parent::display($tpl);
    }
}
Return current item: injooosm