You are here

public function Generic::open in Add to Cal 8

Open the stream.

1 call to Generic::open()
Generic::generateStructure in src/Plugin/AddToCal/Type/Generic.php
Generates an ICS file for download

File

src/Plugin/AddToCal/Type/Generic.php, line 65

Class

Generic
Provides generic calendar type (ics).

Namespace

Drupal\addtocal\Plugin\AddToCal\Type

Code

public function open($uri) {

  // Open in write mode. Will overwrite the stream if it already exists.
  $this->_fd = fopen($uri, 'w');
}