/**
  * @param IManager $contactsManager
  * @param IBackend $backend
  * @param IL10N $l10n
  * @param CalendarFactory $factory
  */
 public function __construct(IManager $contactsManager, IBackend $backend, IL10N $l10n, CalendarFactory $factory)
 {
     parent::__construct($contactsManager);
     $this->backend = $backend;
     $this->l10n = $l10n;
     $this->factory = $factory;
 }
示例#2
0
 /**
  * @param IManager $contactsManager
  * @param ICalendar $calendar
  * @param IL10N $l10n
  * @param ObjectFactory $objectFactory
  */
 public function __construct(IManager $contactsManager, ICalendar $calendar, IL10N $l10n, ObjectFactory $objectFactory)
 {
     parent::__construct($contactsManager);
     $this->calendar = $calendar;
     $this->l10n = $l10n;
     $this->factory = $objectFactory;
     $this->uri = $calendar->getPrivateUri();
     $this->userId = $calendar->getUserId();
 }
示例#3
0
 /**
  * @param IManager $appManager
  */
 public function __construct(IManager $contactsManager)
 {
     parent::__construct($contactsManager);
 }