| Current Path : /home/megadansyp/www/administrator/components/com_eventgallery/views/flickr/ |
| Current File : /home/megadansyp/www/administrator/components/com_eventgallery/views/flickr/view.html.php |
<?php
/**
* @package Sven.Bluege
* @subpackage com_eventgallery
*
* @copyright Copyright (C) 2005 - 2019 Sven Bluege All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
jimport( 'joomla.application.component.view');
jimport( 'joomla.html.pagination');
jimport( 'joomla.html.html');
class EventgalleryViewFlickr extends EventgalleryLibraryCommonView
{
/**
* @var EventgalleryLibraryFlickraccount
*/
public $flickrAccount;
/**
* Display the view
* @param null $tpl
* @return bool|mixed
*/
public function display($tpl = null)
{
$app = JFactory::getApplication();
$id = $app->input->getInt('id');
/**
* @var EventgalleryLibraryFactoryFlickraccount $accountFactory
*
*/
$accountFactory = EventgalleryLibraryFactoryFlickraccount::getInstance();
$this->flickrAccount = $accountFactory->getAccountById($id);
return parent::display($tpl);
}
}