2012-04-28 18:27:29 +04:00
|
|
|
<?php
|
|
|
|
/**
|
2012-06-13 22:39:07 +04:00
|
|
|
* ownCloud - News app
|
2012-04-28 18:27:29 +04:00
|
|
|
*
|
|
|
|
* @author Alessandro Cosentino
|
2012-06-13 22:39:07 +04:00
|
|
|
* Copyright (c) 2012 - Alessandro Cosentino <cosenal@gmail.com>
|
2012-04-28 18:27:29 +04:00
|
|
|
*
|
2012-06-13 22:39:07 +04:00
|
|
|
* This file is licensed under the Affero General Public License version 3 or later.
|
|
|
|
* See the COPYING-README file
|
2012-04-28 18:27:29 +04:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2012-08-12 09:50:19 +04:00
|
|
|
OC::$CLASSPATH['OCA\News\StatusFlag'] = 'apps/news/lib/item.php';
|
2012-08-11 19:39:03 +04:00
|
|
|
OC::$CLASSPATH['OCA\News\Item'] = 'apps/news/lib/item.php';
|
|
|
|
OC::$CLASSPATH['OCA\News\Collection'] = 'apps/news/lib/collection.php';
|
|
|
|
OC::$CLASSPATH['OCA\News\Feed'] = 'apps/news/lib/feed.php';
|
|
|
|
OC::$CLASSPATH['OCA\News\Folder'] = 'apps/news/lib/folder.php';
|
2012-05-30 23:39:01 +04:00
|
|
|
|
2012-08-11 19:39:03 +04:00
|
|
|
OC::$CLASSPATH['OCA\News\FeedMapper'] = 'apps/news/lib/feedmapper.php';
|
|
|
|
OC::$CLASSPATH['OCA\News\ItemMapper'] = 'apps/news/lib/itemmapper.php';
|
|
|
|
OC::$CLASSPATH['OCA\News\FolderMapper'] = 'apps/news/lib/foldermapper.php';
|
2012-05-30 23:39:01 +04:00
|
|
|
|
2012-08-11 19:39:03 +04:00
|
|
|
OC::$CLASSPATH['OCA\News\Utils'] = 'apps/news/lib/utils.php';
|
2012-05-18 06:59:49 +04:00
|
|
|
|
2012-08-09 23:24:02 +04:00
|
|
|
OC::$CLASSPATH['OCA\News\Backgroundjob'] = 'apps/news/lib/backgroundjob.php';
|
|
|
|
OCP\Backgroundjob::addRegularTask( 'OCA\News\Backgroundjob', 'run' );
|
|
|
|
|
2012-05-08 23:57:08 +04:00
|
|
|
$l = new OC_l10n('news');
|
2012-04-28 18:27:29 +04:00
|
|
|
|
2012-05-27 00:51:09 +04:00
|
|
|
OCP\App::addNavigationEntry( array(
|
|
|
|
'id' => 'news',
|
|
|
|
'order' => 74,
|
|
|
|
'href' => OC_Helper::linkTo( 'news', 'index.php' ),
|
|
|
|
'icon' => OC_Helper::imagePath( 'news', 'icon.svg' ),
|
|
|
|
'name' => $l->t('News')
|
|
|
|
));
|