Make these functions public to prevent scrutinizer from complaining.

This commit is contained in:
jgen 2014-04-25 14:17:44 -04:00
parent dcadfc395a
commit 6724f2b75a

View file

@ -212,7 +212,7 @@ EOD;
/** /**
* A handy function which does exactly what it says in the method name * A handy function which does exactly what it says in the method name
*/ */
private function block_to_html($block, $hidable=false, $salt="") { public function block_to_html($block, $hidable=false, $salt="") {
$h = $block->header; $h = $block->header;
$b = $block->body; $b = $block->body;
$i = str_replace(' ', '_', $h) . $salt; $i = str_replace(' ', '_', $h) . $salt;
@ -238,7 +238,7 @@ EOD;
return $html; return $html;
} }
private function navlinks($link, $desc, $pages_matched) { public function navlinks($link, $desc, $pages_matched) {
/** /**
* Woo! We can actually SEE THE CURRENT PAGE!! (well... see it highlighted in the menu.) * Woo! We can actually SEE THE CURRENT PAGE!! (well... see it highlighted in the menu.)
*/ */