function _quote_filter_process_callback in Quote 5
Same name and namespace in other branches
- 6.2 quote.module \_quote_filter_process_callback()
- 6 quote.module \_quote_filter_process_callback()
- 7 quote.module \_quote_filter_process_callback()
Generate and return the quote theming for a quote occurence found by _quote_filter_process.
Parameters
$matches: The RegExp matches (for author and quote) found in _quote_filter_process.
Return value
$output_quote Themed quote.
1 string reference to '_quote_filter_process_callback'
- _quote_filter_process in ./
quote.module - Replace [quote] tags with markup for display.
File
- ./
quote.module, line 287
Code
function _quote_filter_process_callback($matches) {
$quote_author = trim(substr($matches[1], 6));
$quote_content = _quote_filter_process($matches[2]);
$quote_output = theme('quote', $quote_content, $quote_author);
return $quote_output;
}