This website works better with JavaScript
首页
发现
帮助
登录
githab
/
cakephp-tools
关注
2
点赞
0
派生
0
文件
工单管理
0
合并请求
0
Wiki
目录树:
f6051286f7
分支列表
标签列表
cake2
cake3
cake4
master
3.8.2
3.8.1
3.8.0
3.7.0
3.6.4
3.6.3
3.6.2
3.6.1
3.6.0
3.5.0
3.4.0
3.3.0
3.2.0
3.1.2
3.1.1
3.1.0
3.0.0
3.0.0-RC
2.7.0
2.6.2
2.6.1
2.6.0
2.5.4
2.5.3
2.5.2
2.5.1
2.5.0
2.4.2
2.4.1
2.4.0
2.3.0
2.2.1
2.2.0
2.1.3
2.1.2
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
2.0.0-beta
1.9.12
1.9.11
1.9.10
1.9.9
1.9.8
1.9.7
1.9.6
1.9.5
1.9.4
1.9.3
1.9.2
1.9.1
1.9.0
1.8.0
1.7.0
1.6.0
1.5.7
1.5.6
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.3
1.3.2
1.3.1
1.3.0
1.2.2
1.2.1
1.2.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
1.0.0-beta
0.12.4
0.12.3
0.12.2
0.12.1
0.12.0
0.11.2
0.11.1
0.10.7
0.10.6
0.10.5
0.10.3
0.10.2
0.10.1
0.10.0
0.9.10
0.9.9
0.9.8
0.9.7
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.0
0.7
0.6
0.5
0.4
0.3
0.2
0.1
cakephp-tools
/
docs
/
Upgrade.md
Upgrade.md
1.3 KB
文件历史
原始文件
Migration from 2.x to 3.x
TinyAuth
TinyAuth has been moved to its own
plugin
.
Auth
As session is not static anymore Auth class has been refactored into component and helper (incl. trait) and can be used as AuthUser.
Geo
Behaviors Geocodable and Helper GoogleMapsV3 are now moved to a separate
Geo plugin
.
Utility
*Lib are now just * classes
Utility::getMimeType() is now Mime::detectMimeType()
$this->Time->isLeapYear() now doesnt take an argument anymore
Controller
Flash message functionality has been extracted into Flash component and Flash helper.
$this->Common->flashMessage() is now $this->Flash->message().
$this->Common->transientFlashMessage() is now $this->Flash->transientMessage().
Behavior
run
/
before
config options for callback decisions have been unified to
on
and complete callback/event name, e.g.
'on' => 'beforeValidate'
.
SluggedBehavior
Model names are now table names, and plural.
Slug field name option "slugField" is now "field", "multiSlug" has been removed for now as well as currencies.
PasswordableBehavior
You can/should now specify a "validator", it defaults to "default".
JsonableBehavior
No auto-detect anymore, fields need to be specified manually