projects
/
mtweb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
public attr / function, constructeurs __construct
[mtweb]
/
mw
/
app
/
helpers
/
mw_helper_out.php
diff --git
a/mw/app/helpers/mw_helper_out.php
b/mw/app/helpers/mw_helper_out.php
index
c32e102
..
9b35c0c
100644
(file)
--- a/
mw/app/helpers/mw_helper_out.php
+++ b/
mw/app/helpers/mw_helper_out.php
@@
-2,7
+2,7
@@
class mw_helper_out extends mw_helper{
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)){
$navig = "";
if($max && $total > $max){
if(isset($legende)){
@@
-53,11
+53,11
@@
return $navig;
}
return $navig;
}
- function esc_attr($content){
+
public
function esc_attr($content){
return htmlspecialchars($content, ENT_COMPAT, "UTF-8");
}
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";
$html = "";
if($menu["subs"]){
$html .= $indent."<div class=\"menu\"><ul>\n";
@@
-73,5
+73,3
@@
}
}
}
}
-
-?>
\ No newline at end of file