mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-10 14:08:40 +00:00
Fix root namespace
This commit is contained in:
parent
c959e5e5de
commit
c111b2d432
|
|
@ -99,7 +99,7 @@ abstract class ViewAbstract implements \Serializable
|
||||||
*/
|
*/
|
||||||
public function printHtml($text) : string
|
public function printHtml($text) : string
|
||||||
{
|
{
|
||||||
return htmlspecialchars((string) $text);
|
return \htmlspecialchars((string) $text);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -113,7 +113,7 @@ abstract class ViewAbstract implements \Serializable
|
||||||
*/
|
*/
|
||||||
public static function html($text) : string
|
public static function html($text) : string
|
||||||
{
|
{
|
||||||
return htmlspecialchars((string) $text);
|
return \htmlspecialchars((string) $text);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -253,7 +253,7 @@ abstract class ViewAbstract implements \Serializable
|
||||||
\ob_start();
|
\ob_start();
|
||||||
/** @noinspection PhpIncludeInspection */
|
/** @noinspection PhpIncludeInspection */
|
||||||
$includeData = include $path;
|
$includeData = include $path;
|
||||||
$ob = (string) ob_get_clean();
|
$ob = (string) \ob_get_clean();
|
||||||
|
|
||||||
if (\is_array($includeData)) {
|
if (\is_array($includeData)) {
|
||||||
return (string) \json_encode($includeData);
|
return (string) \json_encode($includeData);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user