/** * Closes the calendar stream, if it is open. * @access public */ function close() { if ($this->_opened) { mcal_close($this->_stream); $this->_opened = false; } }
function close($options = '') { if ($options != '') { return mcal_close($this->stream, $options); } else { return mcal_close($this->stream); } }