Esempio n. 1
0
 */
/**
 * This class manages our tasks
 */
namespace OCA\TasksPlus;

use Sabre\VObject\Recur\EventIterator;
use OCA\CalendarPlus\Object;
use OCA\CalendarPlus\Calendar;
use OCA\CalendarPlus\VObject;
use OCA\CalendarPlus\App as CalendarApp;
use OCA\CalendarPlus\ActivityData;
use OCA\TasksPlus\Timeline;
use OCA\TasksPlus\Share\Backend\Vtodo;
App::$appname = 'tasksplus';
App::$l10n = \OC::$server->getL10N(App::$appname);
class App
{
    const CALENDAR = 'calendar';
    const TODO = 'todo';
    public static $l10n;
    public static $appname;
    public static function getPriorityOptions()
    {
        return array('' => self::$l10n->t('Unspecified'), '1' => self::$l10n->t('1=highest'), '2' => '2', '3' => '3', '4' => '4', '5' => self::$l10n->t('5=medium'), '6' => '6', '7' => '7', '8' => '8', '9' => self::$l10n->t('9=lowest'));
    }
    /**
     * @brief Returns all  shared events where user is owner
     * 
     * @return array
     */