public function __construct(array $a) { parent::__construct($a); //$this->requestLogFH = fopen('/var/log/tine20/requestLog', 'w'); $this->propertyMap['{urn:ietf:params:xml:ns:caldav}supported-calendar-component-set'] = 'Sabre\\CalDAV\\Property\\SupportedCalendarComponentSet'; $this->propertyMap['{DAV:}acl'] = 'Sabre\\DAVACL\\Property\\Acl'; $this->propertyMap['{DAV:}group-member-set'] = 'Tinebase_Import_CalDav_GroupMemberSet'; }
/** * ocCalendarConnector constructor. * * @param array $settings */ public function __construct($settings = array()) { parent::__construct($settings); $this->user = isset($settings['userName']) ? $settings['userName'] : ''; $this->pass = isset($settings['password']) ? $settings['password'] : ''; }