public attr / function, constructeurs __construct
[mtweb] / mw / app / helpers / mw_helper_out.php
index c32e102..9b35c0c 100644 (file)
@@ -2,7 +2,7 @@
 
   class mw_helper_out extends mw_helper{
 
-    function pagination_menu($current, $total, $max, $base_url, $start_param, $legende = null){
+    public function pagination_menu($current, $total, $max, $base_url, $start_param, $legende = null){
       $navig = "";
       if($max && $total > $max){
         if(isset($legende)){
       return $navig;
     }
   
-    function esc_attr($content){
+    public function esc_attr($content){
       return htmlspecialchars($content, ENT_COMPAT, "UTF-8");
     }
   
-    function get_menu_ul($menu, $indent = ""){
+    public function get_menu_ul($menu, $indent = ""){
       $html = "";
       if($menu["subs"]){
         $html .= $indent."<div class=\"menu\"><ul>\n";
@@ -73,5 +73,3 @@
     }
 
   }
-
-?>
\ No newline at end of file