[geeklog-hg] geeklog: Added missing static modifiers
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Fri Jan 31 21:01:23 EST 2014
changeset 9461:76d966a028f5
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/76d966a028f5
user: Kenji ITO <mystralkk at gmail.com>
date: Sat Feb 01 11:00:12 2014 +0900
description:
Added missing static modifiers
diffstat:
system/classes/gltext.class.php | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diffs (69 lines):
diff -r 2151d7ebb9b4 -r 76d966a028f5 system/classes/gltext.class.php
--- a/system/classes/gltext.class.php Fri Jan 31 23:38:48 2014 +0900
+++ b/system/classes/gltext.class.php Sat Feb 01 11:00:12 2014 +0900
@@ -289,7 +289,7 @@
// Private Methods:
- private function _htmLawed($str, $permissions)
+ private static function _htmLawed($str, $permissions)
{
global $_CONF, $_USER;
@@ -374,7 +374,7 @@
* @access private
*
*/
- private function _editUnescape($in, $postmode)
+ private static function _editUnescape($in, $postmode)
{
if (!in_array($postmode, array('html', 'wikitext'))) {
// advanced editor or plaintext can handle themselves...
@@ -411,7 +411,7 @@
* @access private
*
*/
- private function _escapeSPChars($str)
+ private static function _escapeSPChars($str)
{
$search = array('&', '<', '>', '[', ']' );
$replace = array('&', '<', '>', '[', ']');
@@ -428,7 +428,7 @@
* @access private
*
*/
- private function _maskCode($str)
+ private static function _maskCode($str)
{
return rawurlencode($str);
}
@@ -441,12 +441,12 @@
* @access private
*
*/
- private function _unmaskCode($str)
+ private static function _unmaskCode($str)
{
return rawurldecode($str);
}
- private function _handleSpecialTag_callback($str, $tags, $args)
+ private static function _handleSpecialTag_callback($str, $tags, $args)
{
if (is_array($args)) {
$function = array_shift($args);
@@ -493,7 +493,7 @@
return $str;
}
- private function _unescapeSpecialTag($in, $tags)
+ private static function _unescapeSpecialTag($in, $tags)
{
$inlower = MBYTE_strtolower($in);
$start_pos = MBYTE_strpos($inlower, $tags[0]);
@@ -532,4 +532,5 @@
return $out;
}
}
+
?>
More information about the geeklog-cvs
mailing list