/**
  * Returns the printable data
  *
  * @param mixed $label
  * @param mixed $value
  * @param boolean $escape (htmlspecialchars) (will still escape if passed null) and escape is ignored if the content type is text/plain (could be a problem if we are mistakenly thinking that the content type is text plain!
  *
  * @since ADD MVC 0.10.4
  */
 public static function return_print_data($label, $value, $escape = true)
 {
     $smarty = new add_smarty();
     $smarty->assign('label', $label);
     $smarty->assign('value', $value);
     $smarty->assign('indentations', 0);
     if ($escape === false) {
         $smarty->assign('escape', false);
     } else {
         $smarty->assign('escape', true);
     }
     return $smarty->fetch('debug/print_data.tpl');
 }
 /**
  * Returns the printable data
  *
  * @param mixed $label
  * @param mixed $value
  *
  * @since ADD MVC 0.10.4
  */
 public static function return_print_data($label, $value)
 {
     $smarty = new add_smarty();
     $smarty->assign('label', $label);
     $smarty->assign('value', $value);
     $smarty->assign('indentations', 0);
     return $smarty->fetch('debug/print_data.tpl');
 }
 /**
  * Prints a data with label
  *
  * @since ADD MVC 0.7.4
  */
 public static function print_data($label, $value)
 {
     $smarty = new add_smarty();
     $smarty->assign('label', $label);
     $smarty->assign('value', $value);
     static::restricted_echo($smarty->fetch('debug/print_data.tpl'));
 }