news/appinfo/app.php

40 строки
1.4 KiB
PHP
Исходник Обычный вид История

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-10-14 23:15:16 +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-10-14 23:15:16 +04:00
*
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';
OC::$CLASSPATH['OCA\News\FeedType'] = 'apps/news/lib/feedtypes.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-10-18 08:18:33 +04:00
OC::$CLASSPATH['OC_Search_Provider_News'] = 'apps/news/lib/search.php';
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-10-14 23:15:16 +04:00
OCP\App::addNavigationEntry( array(
'id' => 'news',
'order' => 74,
'href' => OC_Helper::linkTo( 'news', 'index.php' ),
'icon' => OC_Helper::imagePath( 'news', 'icon.svg' ),
2012-10-18 08:18:33 +04:00
'name' => OC_L10N::get('news')->t('News')
2012-05-27 00:51:09 +04:00
));
2012-10-18 08:18:33 +04:00
OC_Search::registerProvider('OC_Search_Provider_News');