- repair facade

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save