Advertisement
Vol3n

module.php

Oct 11th, 2017
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. <?php
  2.  
  3. // No direct access
  4. defined('_JEXEC') or die;
  5. // Include the syndicate functions only once
  6.  
  7. $document = JFactory::getDocument();
  8. require_once dirname(__FILE__) . '/helper.php';
  9.  
  10.  
  11. $document->addStyleSheet('/Joomla/modules/mod_display_vacancies/css/styles.css');
  12. $document->addScript('/Joomla/modules/mod_display_vacancies/js/custom.js');
  13.  
  14. $helper = new ModDisplayVacanciesHelper();
  15. $table = $helper->createTable($params);
  16. $helper->addPagination($params);
  17.  
  18.  
  19. require JModuleHelper::getLayoutPath('mod_display_vacancies');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement