Deprecated
Classes summary
-
EmailComponent
Will be removed in 3.0. Use Network/CakeEmail instead
-
HttpResponse
This class is deprecated as it has naming conflicts with pecl/http
-
MediaView
Deprecated since version 2.3, use CakeResponse::file() instead
-
ThemeView
Deprecated since 2.1, use View class instead
Methods summary
-
AclComponent::
grant()
-
AclComponent::
revoke()
-
AuthComponent::
redirect()
2.3 Use AuthComponent::redirectUrl() instead
-
BehaviorCollection::
attach()
Replaced with load()
-
BehaviorCollection::
detach()
Use unload instead.
-
Controller::
httpCodes()
Use CakeResponse::httpCodes();
-
Controller::
header()
Use CakeResponse::header()
-
Controller::
disableCache()
Use CakeResponse::disableCache()
-
Controller::
postConditions()
Will be removed in 3.0
-
Controller::
paginate()
Use PaginatorComponent instead
-
Controller::
_beforeScaffold()
-
Controller::
_afterScaffoldSave()
-
Controller::
_afterScaffoldSaveError()
-
Controller::
_scaffoldError()
-
Debugger::
showError()
This function is superseded by Debugger::outputError()
-
Debugger::
output()
Use Debugger::outputAs() and Debugger::addFormat(). Will be removed in 3.0
-
Helper::
_parseAttributes()
This method will be moved to HtmlHelper in 3.0
-
Helper::
_formatAttribute()
This method will be moved to HtmlHelper in 3.0
-
Helper::
output()
This method will be removed in future versions.
-
ObjectCollection::
attached()
Use loaded instead.
-
PaginatorHelper::
counter()
The %page% style placeholders are deprecated.
-
RequestHandlerComponent::
isAjax()
use
$this->request->is('ajax')
instead.
-
RequestHandlerComponent::
isFlash()
use
$this->request->is('flash')
instead.
-
RequestHandlerComponent::
isSSL()
use
$this->request->is('ssl')
instead.
-
RequestHandlerComponent::
isPost()
Use $this->request->is('post'); from your controller.
-
RequestHandlerComponent::
isPut()
Use $this->request->is('put'); from your controller.
-
RequestHandlerComponent::
isGet()
Use $this->request->is('get'); from your controller.
-
RequestHandlerComponent::
isDelete()
Use $this->request->is('delete'); from your controller.
-
RequestHandlerComponent::
setContent()
use
$this->response->type()
instead.
-
RequestHandlerComponent::
getReferer()
use $this->request->referer() from your controller instead
-
RequestHandlerComponent::
getClientIP()
use $this->request->clientIp() from your, controller instead.
-
RequestHandlerComponent::
mapType()
Use $this->response->mapType() in your controller instead.
-
Security::
inactiveMins()
Exists for backwards compatibility only, not used by the core
-
Security::
cipher()
This method will be removed in 3.x
-
SecurityComponent::
requirePost()
Use CakeRequest::onlyAllow() instead.
-
SecurityComponent::
requireGet()
Use CakeRequest::onlyAllow() instead.
-
SecurityComponent::
requirePut()
Use CakeRequest::onlyAllow() instead.
-
SecurityComponent::
requireDelete()
Use CakeRequest::onlyAllow() instead.
-
View::
element()
The
$options['plugin']
is deprecated and will be removed in CakePHP 3.0. UsePlugin.element_name
instead.
-
View::
getVar()
Will be removed in 3.0. Use View::get() instead.
-
View::
addScript()
Will be removed in 3.0. Superseded by blocks functionality.
-
ViewBlock::
append()
As of 2.3 use ViewBlock::concat() instead.
Properties summary
-
SecurityComponent::
$requirePost
Use CakeRequest::onlyAllow() instead.
-
SecurityComponent::
$requireGet
Use CakeRequest::onlyAllow() instead.
-
SecurityComponent::
$requirePut
Use CakeRequest::onlyAllow() instead.
-
SecurityComponent::
$requireDelete
Use CakeRequest::onlyAllow() instead.
-
SecurityComponent::
$disabledFields
Functions summary
-
Please use Cache::write() instead