首页 > 其他 > 详细

Helpers\Data

时间:2016-07-05 13:41:54      阅读:185      评论:0      收藏:0      [点我收藏+]

Helpers\Data

Data helper contains a bunch of useful methods for looking at and altering your data.

Data::pr($data)

Returns the data inside a print_r wrapped around pre tags.

Data::vd($data)

Returns var_dump

Data::sl($data)

Returns the length of the string

Data::stu($data)

Convert to uppercase

Data::stl($data)

Convert to lower

Data::ucw($data)

Returns the string with the first letter of each word in uppercase using ucwords

Data::createKey($length = 32)

Create a key and set the length.

Helpers\Data

原文:http://www.cnblogs.com/chunguang/p/5643118.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!