You are here

function _views_xhtml_debug_stop in Views Datasource 6

Same name and namespace in other branches
  1. 7 views_xhtml.module \_views_xhtml_debug_stop()

may never be used as the properly rendered date strings are available function views_xhtml_is_date($input) { if (strpos($input, 'a:3:{s:5:"month"') !== 0) { return $input; } else { // serialized date array $date = unserialize($input); return format_date(mktime(0, 0, 0, $date['month'], $date['day'], $date['year']), 'custom', DATE_ISO8601); } }

File

./views_xhtml.module, line 254
Module definition for views_xhtml

Code

function _views_xhtml_debug_stop($var) {
  var_dump($var);
  module_Invoke_all('exit');
  exit;
}