This commit is contained in:
me
2026-08-25 09:04:58 +07:00
parent 8beb11bf8f
commit e098401cd1
3 changed files with 14 additions and 6 deletions
-5
View File
@@ -197,11 +197,6 @@ class Request
// QUERY
/**
* @param string $key
* @param mixed $default
* @return mixed
*/
public function query_all() {
return $_GET;
}
+6 -1
View File
@@ -109,7 +109,7 @@ class Str
* @param string $str
* @return string
*/
public function to_url($str) {
public static function to_url($str) {
$str = trim($str);
$str = strtolower($str);
$str = self::vn2en($str);
@@ -125,4 +125,9 @@ class Str
return $str;
}
public static function nl2p($text)
{
return str_replace(["\r\n", "\r", "\n"], '<p></p>', $text);
}
}
+8
View File
@@ -0,0 +1,8 @@
<?php
namespace Nightmare;
class StrReg
{
}