function drupal_set_message in Coder 6.2
Same name and namespace in other branches
- 5.2 scripts/coder_format/coder_format.php \drupal_set_message()
- 6 scripts/coder_format/coder_format.php \drupal_set_message()
- 7.2 scripts/coder_format/coder_format.php \drupal_set_message()
- 7 scripts/coder_format/coder_format.php \drupal_set_message()
8 calls to drupal_set_message()
- coder_format_file in scripts/
coder_format/ coder_format.inc - Reads, backups, processes and writes the source code from and to a file.
- coder_format_recursive in scripts/
coder_format/ coder_format.inc - Recursively process .module and .inc files in directory with coder_format_file().
- coder_page_form in ./
coder.module - Implementation of hook_form().
- coder_parse_ignores in ./
coder.module - Parse an 'ignore' file.
- file_check_directory in scripts/
coder_format/ coder_format.php - Check that the directory exists and is writable. Directories need to have execute permissions to be considered a directory by FTP servers, etc.
3 string references to 'drupal_set_message'
File
- scripts/
coder_format/ coder_format.php, line 398 - Coder format shell invocation script.
Code
function drupal_set_message($message = NULL, $type = 'status') {
if ($type == 'error') {
echo str_repeat('-', 80);
echo "\nERROR: {$message}\n";
echo str_repeat('-', 80);
echo "\n";
}
else {
echo "{$message}\n";
}
}