text: <?php
  /*
   You may not change or alter any portion of this comment or credits
   of supporting developers from this source code or any supporting source code
   which is considered copyrighted (c) material of the original comment or credit authors.
  
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  */
  
  use Xoops\Core\PreloadItem;
  
  /**
   * Page core preloads
   *
   * @copyright       XOOPS Project (http://xoops.org)
   * @license         GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
   * @package         page
   * @since           2.6.0
   * @author          DuGris (aka Laurent JEN)
   * @version         $Id$
   */
  class PagePreload extends PreloadItem
  {
      /**
       * listen for core.include.common.classmaps
       * add any module specific class map entries
       *
       * @param mixed $args not used
       *
       * @return void
       */
      public static function eventCoreIncludeCommonClassmaps($args)
      {
          $path = dirname(__DIR__);
          XoopsLoad::addMap(array(
              'page' => $path . '/class/helper.php',
          ));
      }
  }
  