コード例 #1
0
ファイル: controller.php プロジェクト: ForAEdesWeb/AEW4
 /**
  * constructor
  */
 function __construct()
 {
     parent::__construct();
     if (version_compare(JVERSION, '1.6.0', 'ge')) {
         // Joomla! 1.6+ code
         JModelLegacy::addIncludePath(JPATH_SITE . '/plugins/j2store/report_ritemised/report_itemised/models');
         JTable::addIncludePath(JPATH_SITE . '/plugins/j2store/report_itemised/report_itemised/tables');
     } else {
         JModelLegacy::addIncludePath(JPATH_SITE . '/plugins/j2store/report_itemised/report_itemised/models');
         JTable::addIncludePath(JPATH_SITE . '/plugins/j2store/report_itemised/report_itemised/tables');
     }
 }
コード例 #2
0
ファイル: controller.php プロジェクト: ForAEdesWeb/AEW4
 /**
  * constructor
  */
 function __construct()
 {
     parent::__construct();
     JModelLegacy::addIncludePath(JPATH_SITE . '/plugins/j2store/report_orderitems/report_orderitems/models');
     JTable::addIncludePath(JPATH_SITE . '/plugins/j2store/report_orderitems/report_orderitems/tables');
 }