Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AxelPanda/SonicBreaker
/ functions
Functions
3,222 in github.com/AxelPanda/SonicBreaker
⨍
Functions
3,222
◇
Types & classes
189
↓ 910 callers
Method
replace
* 替换记录 * @access public * @param mixed $data 数据 * @param array $options 参数表达式 * @return false | integer */
ThinkPHP/Library/Think/Db/Driver/Mysql.class.php:254
↓ 604 callers
Function
C
* 获取和设置配置参数 支持批量定义 * @param string|array $name 配置变量 * @param mixed $value 配置值 * @param mixed $default 默认值 * @return mixed */
ThinkPHP/Common/functions.php:23
↓ 467 callers
Method
remove
* 删除状态为-1的数据(包含扩展模型) * @return true 删除成功, false 删除失败 * @author huajie <banhuajie@163.com> */
Application/Admin/Model/DocumentModel.class.php:437
↓ 387 callers
Function
$
(a,b,c)
Public/static/kindeditor/kindeditor-min.js:6
↓ 337 callers
Method
find
* 查询数据 * @access public * @param mixed $options 表达式参数 * @return mixed */
ThinkPHP/Library/Think/Model.class.php:624
↓ 329 callers
Method
select
* 查找记录 * @access public * @param array $options 表达式 * @return mixed */
ThinkPHP/Library/Think/Db.class.php:771
↓ 295 callers
Method
error
* 获取错误代码信息 * @param string $errorNo 错误号 */
ThinkPHP/Library/Think/Upload.class.php:305
↓ 262 callers
Method
data
* 设置数据对象值 * @access public * @param mixed $data 数据 * @return Model */
ThinkPHP/Library/Think/Model.class.php:1408
↓ 204 callers
Method
join
* 查询SQL组装 join * @access public * @param mixed $join * @param string $type JOIN类型 * @return Model */
ThinkPHP/Library/Think/Model.class.php:1448
↓ 200 callers
Function
$
(e,n,r)
Public/static/jquery-1.10.2.min.js:5
↓ 197 callers
Function
f
(a,b)
Public/static/kindeditor/kindeditor-min.js:20
↓ 181 callers
Method
assign
* 模板变量赋值 * @access protected * @param mixed $name 要显示的模板变量 * @param mixed $value 变量的值 * @return Action */
Application/Common/Controller/Addon.class.php:78
↓ 168 callers
Method
where
* 指定查询条件 支持安全过滤 * @access public * @param mixed $where 条件表达式 * @param mixed $parse 预处理参数 * @return Model */
ThinkPHP/Library/Think/Model.class.php:1576
↓ 167 callers
Function
K
(a)
Public/static/xheditor/xheditor_plugins/showdown.js:62
↓ 165 callers
Function
M
* M函数用于实例化一个没有模型文件的Model * @param string $name Model名称 支持指定基础模型 例如 MongoModel:User * @param string $tablePrefix 表前缀 * @param mixed $connection 数据库连
ThinkPHP/Common/functions.php:477
↓ 142 callers
Function
I
* 获取输入参数 支持过滤和默认值 * 使用方法: * <code> * I('id',0); 获取id参数 自动判断get或者post * I('post.name','','htmlspecialchars'); 获取$_POST['name'] * I('get.'); 获取$_GE
ThinkPHP/Common/functions.php:220
↓ 133 callers
Method
append
* 文件追加写入 * @access public * @param string $filename 文件名 * @param string $content 追加的文件内容 * @return boolean */
ThinkPHP/Library/Think/Storage/Driver/Sae.class.php:105
↓ 133 callers
Method
exec
* 执行应用程序 * @access public * @return void */
ThinkPHP/Mode/Api/App.class.php:47
↓ 111 callers
Function
E
* 抛出异常处理 * @param string $msg 异常消息 * @param integer $code 异常代码 默认为0 * @return void */
ThinkPHP/Common/functions.php:60
↓ 110 callers
Method
field
* 指定查询字段 支持字段排除 * @access public * @param mixed $field * @param boolean $except 是否排除 * @return Model */
ThinkPHP/Library/Think/Model.class.php:1519
↓ 101 callers
Method
get
* 取得模板变量的值 * @access public * @param string $name * @return mixed */
ThinkPHP/Library/Think/View.class.php:50
↓ 99 callers
Function
D
* D函数用于实例化模型类 格式 [资源://][模块/]模型 * @param string $name 资源地址 * @param string $layer 模型层名称 * @return Model */
ThinkPHP/Common/functions.php:449
↓ 99 callers
Function
trim
* Removes all white space at the begining and end of a string. * * @param {String} str String to trim. * @return {String} Return
Public/static/ueditor/third-party/SyntaxHighlighter/shCore.js:1585
↓ 94 callers
Function
e
(a)
Public/static/bootstrap/js/google-code-prettify/prettify.js:2
↓ 93 callers
Method
display
显示方法
Application/Common/Controller/Addon.class.php:65
↓ 90 callers
Function
session
* session管理函数 * @param string|array $name session名称 如果为数组则表示进行session设置 * @param mixed $value session值 * @return mixed */
ThinkPHP/Common/functions.php:1058
↓ 89 callers
Method
success
* 操作成功跳转的快捷方法 * @access protected * @param string $message 提示信息 * @param string $jumpUrl 页面跳转地址 * @param mixed $ajax 是否为Ajax方式 当数字
ThinkPHP/Library/Think/Controller.class.php:198
↓ 88 callers
Function
b
()
Public/static/qtip/jquery.qtip.min.js:2
↓ 82 callers
Method
show
* 组装分页链接 * @return string */
ThinkPHP/Library/Think/Page.class.php:76
↓ 74 callers
Function
G
* 记录和统计时间(微秒)和内存使用情况 * 使用方法: * <code> * G('begin'); // 记录开始标记位 * // ... 区间运行代码 * G('end'); // 记录结束标签位 * echo G('begin','end',6); // 统计区间运行时间 精确到
ThinkPHP/Common/functions.php:81
↓ 73 callers
Function
N
* 设置和获取统计数据 * 使用方法: * <code> * N('db',1); // 记录数据库操作次数 * N('read',1); // 记录读取次数 * echo N('db'); // 获取当前页面数据库的所有操作次数 * echo N('read'); // 获取当前页面读
ThinkPHP/Common/functions.php:306
↓ 70 callers
Method
bind
* 参数绑定 * @access public * @param string $key 参数名 * @param mixed $value 绑定的变量及绑定参数 * @return Model */
ThinkPHP/Library/Think/Model.class.php:1643
↓ 65 callers
Function
alert
* Displays an alert. * @param {String} str String to display.
Public/static/ueditor/third-party/SyntaxHighlighter/shCore.js:1297
↓ 65 callers
Function
c
(a)
Public/static/qtip/imagesloaded.min.js:6
↓ 65 callers
Function
g
(a)
Public/static/qtip/jquery.qtip.min.js:2
↓ 64 callers
Function
cont
()
Public/static/ueditor/third-party/codemirror/codemirror.js:2891
↓ 64 callers
Function
m
(a,b)
Public/static/kindeditor/kindeditor-min.js:1
↓ 61 callers
Function
L
* 获取和设置语言定义(不区分大小写) * @param string|array $name 语言变量 * @param string $value 语言值 * @return mixed */
ThinkPHP/Common/functions.php:107
↓ 61 callers
Function
cont
()
Public/Admin/js/codemirror/javascript.js:197
↓ 61 callers
Method
set
($name,$value)
ThinkPHP/Library/Think/Template.class.php:62
↓ 56 callers
Function
Pos
(line, ch)
Public/Admin/js/codemirror/codemirror.js:2456
↓ 56 callers
Function
S
* 缓存管理 * @param mixed $name 缓存名称,如果为数组表示进行缓存设置 * @param mixed $value 缓存值 * @param mixed $options 缓存参数 * @return mixed */
ThinkPHP/Common/functions.php:923
↓ 56 callers
Function
elt
(tag, content, className, style)
Public/Admin/js/codemirror/codemirror.js:5406
↓ 55 callers
Function
d
(a)
Public/static/qtip/imagesloaded.min.js:6
↓ 55 callers
Method
getError
* 获取最近的错误信息 * @access public * @return string */
ThinkPHP/Library/Think/Db.class.php:861
↓ 53 callers
Function
getLine
(chunk, n)
Public/Admin/js/codemirror/codemirror.js:4952
↓ 52 callers
Method
next
* 获取下一篇文档基本信息 * @param array $info 当前文档信息 * @return array */
Application/Home/Model/DocumentModel.class.php:120
↓ 51 callers
Function
X
(a)
Public/static/kindeditor/kindeditor-min.js:48
↓ 51 callers
Method
height
* 返回图片高度 * @return integer 图片高度 */
ThinkPHP/Library/Think/Image.class.php:107
↓ 51 callers
Method
render
* 输出内容文本可以包括Html * @access private * @param string $content 输出内容 * @param string $charset 模板输出字符集 * @param string $contentType 输出类
ThinkPHP/Library/Think/View.class.php:87
↓ 51 callers
Method
update
* 更新记录 * @access public * @param mixed $data 数据 * @param array $options 表达式 * @return false | integer */
ThinkPHP/Library/Think/Db.class.php:734
↓ 50 callers
Method
log
* 内置的日志函数,可以根据用户传入的log函数,进行日志输出 * @param string $log * @param array $opt */
ThinkPHP/Library/Think/Upload/Driver/Bcs/bcs.class.php:1301
↓ 50 callers
Function
x
(e,t)
Public/static/jquery-1.10.2.min.js:4
↓ 47 callers
Method
open
* 打开一幅图像 * @param string $imgname 图片路径 * @return Object 当前图片处理库对象 */
ThinkPHP/Library/Think/Image.class.php:78
↓ 47 callers
Function
x
(e,n)
Public/static/jquery-2.0.3.min.js:4
↓ 46 callers
Function
_
(s)
Public/static/ueditor/ueditor.all.min.js:1
↓ 46 callers
Function
_
( s )
Public/static/ueditor/ueditor.all.js:907
↓ 46 callers
Method
add
* 动态添加插件到某个标签 * @param string $tag 标签名称 * @param mixed $name 插件名称 * @return void */
ThinkPHP/Library/Think/Hook.class.php:25
↓ 46 callers
Function
operation
(f)
Public/static/ueditor/third-party/codemirror/codemirror.js:1694
↓ 46 callers
Method
text
* 图像添加文字 * @param string $text 添加的文字 * @param string $font 字体路径 * @param integer $size 字号 * @param string $color 文字颜
ThinkPHP/Library/Think/Image.class.php:185
↓ 45 callers
Function
U
* URL组装 支持不同URL模式 * @param string $url URL表达式,格式:'[模块/控制器/操作#锚点@域名]?参数1=值1&参数2=值2...' * @param string|array $vars 传入的参数,支持数组和字符串 * @param string $s
ThinkPHP/Common/functions.php:713
↓ 45 callers
Function
clipPos
(doc, pos)
Public/Admin/js/codemirror/codemirror.js:2469
↓ 45 callers
Function
getTableItemsByRange
(editor)
Public/static/ueditor/ueditor.all.min.js:8
↓ 45 callers
Function
getTableItemsByRange
(editor)
Public/static/ueditor/ueditor.all.js:12938
↓ 41 callers
Function
getLine
(n)
Public/static/ueditor/third-party/codemirror/codemirror.js:280
↓ 40 callers
Function
getUETable
(tdOrTable)
Public/static/ueditor/ueditor.all.min.js:8
↓ 40 callers
Function
getUETable
(tdOrTable)
Public/static/ueditor/ueditor.all.js:12947
↓ 40 callers
Function
operation
(cm1, f)
Public/Admin/js/codemirror/codemirror.js:1394
↓ 39 callers
Function
j
(a,b)
Public/static/kindeditor/kindeditor-min.js:4
↓ 38 callers
Method
_data
($tag,$content)
ThinkPHP/Library/OT/TagLib/Think.class.php:86
↓ 38 callers
Method
debug
* 数据库调试 记录当前SQL * @access protected */
ThinkPHP/Library/Think/Db.class.php:250
↓ 38 callers
Method
getPosition
* 生成推荐位的值 * @return number 推荐位 * @author huajie <banhuajie@163.com> */
Application/Admin/Model/DocumentModel.class.php:418
↓ 38 callers
Function
on
(emitter, type, f)
Public/Admin/js/codemirror/codemirror.js:5242
↓ 37 callers
Method
create
创建向导首页
Application/Admin/Controller/AddonsController.class.php:26
↓ 37 callers
Function
option
(name, deflt, handle, notOnInit)
Public/Admin/js/codemirror/codemirror.js:3197
↓ 36 callers
Method
save
* 日志保存 * @static * @access public * @param integer $type 日志记录方式 * @param string $destination 写入目标 * @return void */
ThinkPHP/Library/Think/Log.class.php:65
↓ 34 callers
Method
getPk
* 获取主键名称 * @access public * @return string */
ThinkPHP/Library/Think/Model.class.php:1379
↓ 33 callers
Method
insert
* 插入记录 * @access public * @param mixed $data 数据 * @param array $options 参数表达式 * @param boolean $replace 是否replace * @return f
ThinkPHP/Library/Think/Db.class.php:686
↓ 32 callers
Method
destroy
* 删除Session * @access public * @param string $sessID */
ThinkPHP/Library/Think/Session/Driver/Db.class.php:153
↓ 32 callers
Method
width
* 返回图片宽度 * @return integer 图片宽度 */
ThinkPHP/Library/Think/Image.class.php:99
↓ 31 callers
Function
a
(a)
Public/static/kindeditor/kindeditor-min.js:45
↓ 31 callers
Method
save
* 批量保存配置 * @author 麦当苗儿 <zuojiazi@vip.qq.com> */
Application/Admin/Controller/ConfigController.class.php:107
↓ 29 callers
Method
add
* 新增菜单 * @author yangweijie <yangweijiester@gmail.com> */
Application/Admin/Controller/MenuController.class.php:55
↓ 29 callers
Method
close
关闭数据库 由驱动类定义
ThinkPHP/Library/Think/Db.class.php:899
↓ 29 callers
Method
initConnect
* 初始化数据库连接 * @access protected * @param boolean $master 主服务器 * @return void */
ThinkPHP/Library/Think/Db.class.php:158
↓ 28 callers
Function
block
(type)
Public/static/ueditor/third-party/codemirror/codemirror.js:3287
↓ 28 callers
Method
delete
* 条目假删除 * @param string $model 模型名称,供D函数使用的参数 * @param array $where 查询时的where()方法的参数 * @param array $msg 执行正确和错误的消息 array('success'
Application/Admin/Controller/AdminController.class.php:201
↓ 27 callers
Function
b
(a)
Public/static/kindeditor/kindeditor-min.js:3
↓ 27 callers
Function
posEq
(a, b)
Public/Admin/js/codemirror/codemirror.js:2462
↓ 26 callers
Method
access
* 访问授权页面 * @author 朱亚杰 <zhuyajie@topthink.net> */
Application/Admin/Controller/AuthManagerController.class.php:130
↓ 26 callers
Method
sort
* 菜单排序 * @author huajie <banhuajie@163.com> */
Application/Admin/Controller/MenuController.class.php:214
↓ 25 callers
Method
assertParameterArray
* make sure $opt is an array * @param $opt */
ThinkPHP/Library/Think/Upload/Driver/Bcs/bcs.class.php:1313
↓ 25 callers
Method
write
* 日志直接写入 * @static * @access public * @param string $message 日志信息 * @param string $level 日志级别 * @param integer $type 日志记录方式
ThinkPHP/Library/Think/Log.class.php:91
↓ 24 callers
Function
connect
(node, type, handler, disconnect)
Public/static/ueditor/third-party/codemirror/codemirror.js:2571
↓ 24 callers
Function
kw
(type)
Public/Admin/js/codemirror/javascript.js:12
↓ 24 callers
Function
posEq
(a, b)
Public/static/ueditor/third-party/codemirror/codemirror.js:2670
↓ 24 callers
Function
ret
(tp, style, cont)
Public/static/ueditor/third-party/codemirror/codemirror.js:3055
↓ 24 callers
Function
trace
* Log a trace in the firebug console * * @see FirePHP::TRACE * @param string $Label * @return true * @throws Exception *
ThinkPHP/Library/Behavior/FireShowPageTraceBehavior.class.php:955
↓ 23 callers
Method
getField
* 获取一条记录的某个字段值 * @access public * @param string $field 字段名 * @param string $spea 字段数据间隔符号 NULL返回数组 * @return mixed */
ThinkPHP/Library/Think/Model.class.php:754
↓ 23 callers
Method
index
用户中心首页 */
Application/Home/Controller/UserController.class.php:20
next →
1–100 of 3,222, ranked by callers