| Current Path : /var/www/components/com_yendifvideoshare/controllers/ |
| Current File : /var/www/components/com_yendifvideoshare/controllers/categories.php |
<?php
/**
* @version 1.2.9
* @package Com_YendifVideoShare
* @author PluginsWare Interactive Pvt. Ltd <admin@yendifplayer.com>
* @copyright Copyright (c) 2012 - 2021 PluginsWare Interactive Pvt. Ltd. All Rights Reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// Prevent direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
class YendifVideoShareControllerCategories extends YendifVideoShareController {
public function categories() {
$document = JFactory::getDocument();
$vType = $document->getType();
$model = $this->getModel( 'categories' );
$view = $this->getView( 'categories', $vType );
$view->setModel( $model, true );
$view->setLayout( 'default' );
$view->display();
}
}