You are here

private function MediaReadOnlyStreamWrapper::_debug in D7 Media 7

Same name and namespace in other branches
  1. 7.4 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::_debug()
  2. 7.2 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::_debug()
  3. 7.3 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::_debug()
1 call to MediaReadOnlyStreamWrapper::_debug()
MediaReadOnlyStreamWrapper::stream_open in includes/MediaReadOnlyStreamWrapper.inc
Support for fopen(), file_get_contents(), file_put_contents() etc.

File

includes/MediaReadOnlyStreamWrapper.inc, line 157

Class

MediaReadOnlyStreamWrapper
A base class for Resource Stream Wrappers.

Code

private function _debug($message, $type = 'status') {
  if ($this->_DEBUG_MODE) {
    drupal_set_message($message, $type);
  }
}