news/appinfo/app.php

31 строка
717 B
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
*/
2013-01-27 07:15:53 +04:00
namespace OCA\News;
2012-05-30 23:39:01 +04:00
2012-05-18 06:59:49 +04:00
2013-01-27 07:15:53 +04:00
\OCP\App::addNavigationEntry( array(
2012-10-14 23:15:16 +04:00
'id' => 'news',
'order' => 74,
2013-01-27 07:15:53 +04:00
'href' => \OC_Helper::linkToRoute('news_index'),
2013-02-02 13:50:10 +04:00
'icon' => \OC_Helper::imagePath( 'news', 'news.svg' ),
2013-01-27 07:15:53 +04:00
'name' => \OC_L10N::get('news')->t('News')
2012-05-27 00:51:09 +04:00
));
2013-03-21 02:33:51 +04:00
/*
2013-01-27 07:15:53 +04:00
\OC_Search::registerProvider('OC_Search_Provider_News');
\OCP\Backgroundjob::addRegularTask( 'OCA\News\Backgroundjob', 'run' );
\OCP\Share::registerBackend('news_item', 'OCA\News\Share_Backend_News_Item');
2013-03-21 02:33:51 +04:00
*/
2012-10-28 18:57:35 +04:00