Support Joomla!

Packages

Package: Joomla

License

Content on this site is copyright © 2005 - 2008 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. Some parts of this website may be subject to other licenses.
Source code for file /joomla/import.php

Documentation is available at import.php

  1. <?php
  2. /**
  3. @version        $Id: import.php 10381 2008-06-01 03:35:53Z pasamio $
  4. @package        Joomla
  5. @copyright    Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
  6. @license        GNU/GPL, see LICENSE.php
  7. *  Joomla! is free software. This version may have been modified pursuant
  8. *  to the GNU General Public License, and as distributed it includes or
  9. *  is derivative of works licensed under the GNU General Public License or
  10. *  other free or open source software licenses.
  11. *  See COPYRIGHT.php for copyright notices and details.
  12. */
  13.  
  14. // no direct access
  15. defined'_JEXEC' or die'Restricted access' );
  16.  
  17. /**
  18.  * Load the loader class
  19.  */
  20. if (class_exists('JLoader')) {
  21.     require_onceJPATH_LIBRARIES.DS.'loader.php');
  22. }
  23.  
  24. /**
  25.  * Joomla! library imports
  26.  */
  27.  
  28. //Base classes
  29. JLoader::import'joomla.base.object'             );
  30.  
  31. //Environment classes
  32. JLoader::import'joomla.environment.request'   );
  33.  
  34. JLoader::import'joomla.environment.response'  );
  35.  
  36. //Factory class and methods
  37. JLoader::import'joomla.factory'                 );
  38. JLoader::import'joomla.version'                 );
  39. if (!defined('JVERSION')) {
  40.     $version new JVersion();
  41.     define('JVERSION'$version->getShortVersion());
  42. }
  43.  
  44. //Error
  45. JLoader::import'joomla.error.error'             );
  46. JLoader::import'joomla.error.exception'         );
  47.  
  48. //Utilities
  49. JLoader::import'joomla.utilities.arrayhelper' );
  50.  
  51. //Filters
  52. JLoader::import'joomla.filter.filterinput'    );
  53. JLoader::import'joomla.filter.filteroutput'    );
  54.  
  55. //Register class that don't follow one file per class naming conventions
  56. JLoader::register('JText' dirname(__FILE__).DS.'methods.php');
  57. JLoader::register('JRoute'dirname(__FILE__).DS.'methods.php');

Documentation generated on Sat, 14 Nov 2009 11:15:04 +0000 by phpDocumentor 1.3.1