- repair facade

v5.1
Chaim 4 years ago
parent 50bb143fd9
commit 0853a7f0c0

@ -18,8 +18,8 @@ namespace DtApp\ThinkLibrary;
/**
* 随机管理类
* Class Ints
* @mixin Ints
* Class Random
* @mixin Random
* @package DtApp\ThinkLibrary
*/
class Random

@ -18,8 +18,8 @@ namespace DtApp\ThinkLibrary;
/**
* 字符串管理类
* Class Ints
* @mixin Ints
* Class Str
* @mixin Str
* @package DtApp\ThinkLibrary
*/
class Str

@ -38,7 +38,7 @@ class Xmls
$xml = "<xml>";
foreach ($values as $key => $val) {
if (is_array($val)) {
$xml .= "<" . $key . ">" . toXml($val) . "</" . $key . ">";
$xml .= "<" . $key . ">" . $this->toXml($val) . "</" . $key . ">";
} else if (is_numeric($val)) {
$xml .= "<" . $key . ">" . $val . "</" . $key . ">";
} else {

@ -20,7 +20,7 @@ use think\Facade;
/**
* 日期门面
* Class Preg
* Class Date
* @see \DtApp\ThinkLibrary\Date
* @package think\facade
* @mixin \DtApp\ThinkLibrary\Date

@ -20,7 +20,7 @@ use think\Facade;
/**
* 文件门面
* Class Preg
* Class Files
* @see \DtApp\ThinkLibrary\Files
* @package think\facade
* @mixin \DtApp\ThinkLibrary\Files

@ -20,7 +20,7 @@ use think\Facade;
/**
* 数字门面
* Class Preg
* Class Ints
* @see \DtApp\ThinkLibrary\Ints
* @package think\facade
* @mixin \DtApp\ThinkLibrary\Ints

@ -20,7 +20,7 @@ use think\facade;
/**
* 随机门面
* Class Preg
* Class Random
* @see \DtApp\ThinkLibrary\Random
* @package think\facade
* @mixin \DtApp\ThinkLibrary\Random

@ -20,7 +20,7 @@ use think\facade;
/**
* 字符串门面
* Class Preg
* Class Str
* @see \DtApp\ThinkLibrary\Str
* @package think\facade
* @mixin \DtApp\ThinkLibrary\Str

@ -20,7 +20,7 @@ use think\Facade;
/**
* 时间门面
* Class Preg
* Class Time
* @see \DtApp\ThinkLibrary\Time
* @package think\facade
* @mixin \DtApp\ThinkLibrary\Time

@ -20,7 +20,7 @@ use think\Facade;
/**
* 唯一ID门面
* Class Preg
* Class UnIqId
* @see \DtApp\ThinkLibrary\UnIqId
* @package think\facade
* @mixin \DtApp\ThinkLibrary\UnIqId

@ -20,7 +20,7 @@ use think\Facade;
/**
* 网址门面
* Class Preg
* Class Urls
* @see \DtApp\ThinkLibrary\Urls
* @package think\facade
* @mixin \DtApp\ThinkLibrary\Urls

@ -20,10 +20,11 @@ use think\Facade;
/**
* XML门面
* Class Preg
* Class Xmls
* @see \DtApp\ThinkLibrary\Xmls
* @package think\facade
* @mixin \DtApp\ThinkLibrary\Xmls
* @package DtApp\ThinkLibrary\facade
*
* @method \DtApp\ThinkLibrary\Xmls toXml(array $values) string 数组转换为xml
* @method \DtApp\ThinkLibrary\Xmls toArray(string $xml) string 将XML转为array
*/

Loading…
Cancel
Save