This commit is contained in:
Maxim Kostjukevich 2013-07-24 13:49:35 +03:00
parent 7143898cae
commit 84461cc77a
29 changed files with 29 additions and 28 deletions

View File

@ -43,4 +43,4 @@ function fenom_modifier_capitalize_ucfirst($string, $uc_digits = null) {
}
}
?>
?>

View File

@ -36,4 +36,4 @@
return preg_match_all('~\S~', $string, $match);
}
?>
?>

View File

@ -5,4 +5,4 @@
return sizeof(preg_split('~[\r\n]+~', $string));
}
?>
?>

View File

@ -4,4 +4,4 @@
return sizeof(preg_grep('~[a-zA-Z0-9\\x80-\\xff]~', preg_split('~\s+~', $string)));
}
?>
?>

View File

@ -19,4 +19,4 @@
return;
}
}
?>
?>

View File

@ -5,4 +5,4 @@
}
return $string;
}
?>
?>

View File

@ -71,4 +71,4 @@
return $string;
}
?>
?>

View File

@ -34,4 +34,4 @@
}
return $query;
}
?>
?>

View File

@ -3,4 +3,4 @@
function fenom_modifier_hexcolor($int) {
return sprintf('%06x', $int);
}
?>
?>

View File

@ -5,4 +5,4 @@
return preg_replace('~^~m', str_repeat($char, $chars), $string);
}
?>
?>

View File

@ -3,4 +3,4 @@
function fenom_modifier_ini_get($directive) {
return ini_get($directive);
}
?>
?>

View File

@ -3,4 +3,4 @@
function fenom_modifier_int2color($string) {
return sprintf('%06X', $string);
}
?>
?>

View File

@ -28,4 +28,4 @@
}
return $r;
}
?>
?>

View File

@ -4,4 +4,4 @@
$int = intval($string);
return $int > 0 ? $int : 0;
}
?>
?>

View File

@ -51,4 +51,4 @@
}
}
}
?>
?>

View File

@ -3,4 +3,4 @@
function fenom_modifier_nl2br($string) {
return nl2br($string);
}
?>
?>

View File

@ -8,4 +8,4 @@
return FALSE;
}
}
?>
?>

View File

@ -4,4 +4,4 @@
function fenom_modifier_replace($string, $search, $replace) {
return str_replace($search, $replace, $string);
}
?>
?>

View File

@ -7,4 +7,4 @@
}
return $uri;
}
?>
?>

View File

@ -5,4 +5,4 @@
return ($int > 0 ? '+' : '') . $int;
}
?>
?>

View File

@ -4,4 +4,4 @@
return implode($spacify_char, preg_split('//', $string, -1, PREG_SPLIT_NO_EMPTY));
}
?>
?>

View File

@ -10,4 +10,4 @@
echo $num . ' ' . $many;
}
}
?>
?>

View File

@ -4,4 +4,4 @@
return sprintf($format, $string);
}
?>
?>

View File

@ -4,4 +4,4 @@
return preg_replace('~\s+~', $replace, $text);
}
?>
?>

View File

@ -8,4 +8,4 @@
return strip_tags($string);
}
}
?>
?>

View File

@ -50,3 +50,4 @@
}
?>

View File

@ -16,4 +16,4 @@
}
return $size;
}
?>
?>

View File

@ -68,4 +68,4 @@
}
?>
?>

View File

@ -28,4 +28,4 @@
return $time;
}
?>
?>