Deprecated
Classes summary
-
Cake\Cache\Engine\XcacheEngine
3.6.0 Xcache engine has been deprecated and will be removed in 4.0.0.
-
Cake\Controller\Component\CookieComponent
3.5.0 Use Cake\Http\Middleware\EncryptedCookieMiddleware and Cake\Http\Cookie\Cookie methods instead.
-
Cake\Controller\Component\CsrfComponent
3.5.0 Use Cake\Http\Middleware\CsrfProtectionMiddleware instead.
-
Cake\Http\Client\CookieCollection
3.5.0 Use Cake\Http\Cookie\CookieCollection instead.
-
Cake\Routing\Dispatcher
3.6.0 Dispatcher is deprecated. You should update your application to use the Http\Server implementation instead.
-
Cake\Routing\DispatcherFactory
3.6.0 This class is part of the deprecated dispatcher system. Use Http\Server instead.
-
Cake\Shell\CommandListShell
3.5.0 Replaced by Cake\Shell\HelpShell
-
Cake\Shell\OrmCacheShell
3.6.0 Use \Cake\Shell\SchemaCacheShell instead
-
Cake\TestSuite\ConsoleIntegrationTestCase
3.7.0 Use Cake\TestSuite\ConsoleIntegrationTestTrait instead
-
Cake\TestSuite\IntegrationTestCase
3.7.0 Use Cake\TestSuite\IntegrationTestTrait instead
-
Cake\View\Helper\RssHelper
3.5.0 RssHelper is deprecated and will be removed in 4.0.0
-
Cake\View\Helper\SessionHelper
3.0.2 Use request->session() instead.
Traits summary
-
Cake\Database\Driver\PDODriverTrait
3.6.0 The methods of this trait have been added to
Driver
class.
-
Cake\Event\EventManagerTrait
3.0.10 Use Cake\Event\EventDispatcherTrait instead.
-
Cake\ORM\Association\DependentDeleteTrait
3.5.0 Unused in CakePHP now. This class will be removed in 4.0.0
-
Cake\Routing\RequestActionTrait
3.3.0 Use view cells instead.
-
Cake\TestSuite\EmailAssertTrait
3.7.0 Use Cake\TestSuite\EmailTrait instead
Methods summary
-
Cake\Cache\Cache::
registry()
Deprecated since 3.5. Use getRegistry() and setRegistry() instead.
-
Cake\Cache\Cache::
engine()
3.7.0 Use Cache::pool() instead. In 4.0 all cache engines will implement the PSR16 interface and this method does not return objects implementing that interface.
-
Cake\Cache\Cache::
gc()
3.7.0 Will be removed in 4.0
-
Cake\Cache\Engine\MemcachedEngine::
_parseServerString()
3.4.13 Will be removed in 4.0.0
-
Cake\Console\CommandRunner::
checkCollection()
3.6.0 This method should be replaced with return types in 4.x
-
Cake\Console\CommandRunner::
eventManager()
3.6.0 Will be removed in 4.0
-
Cake\Console\ConsoleIo::
outputAs()
3.5.0 Use setOutputAs() instead.
-
Cake\Console\ConsoleOptionParser::
command()
3.4.0 Use setCommand()/getCommand() instead.
-
Cake\Console\ConsoleOptionParser::
description()
3.4.0 Use setDescription()/getDescription() instead.
-
Cake\Console\ConsoleOptionParser::
epilog()
3.4.0 Use setEpilog()/getEpilog() instead.
-
Cake\Console\ConsoleOptionParser::
setHelpAlias()
3.5.0 Use setRootName() instead.
-
Cake\Console\ConsoleOutput::
outputAs()
3.5.0 Use getOutputAs()/setOutputAs() instead.
-
Cake\Console\Shell::
io()
3.5.0 Use getIo()/setIo() instead.
-
Cake\Console\Shell::
wrapMessageWithType()
3.6.0 Will be removed in 4.0.0 as it is no longer in use.
-
Cake\Console\Shell::
error()
3.2.0 Use Shell::abort() instead.
-
Cake\Controller\Component\PaginatorComponent::
config()
3.5.0 use setConfig()/getConfig() instead.
-
Cake\Controller\Component\RequestHandlerComponent::
initialize()
3.4.0 Unused. To be removed in 4.0.0
-
Cake\Controller\Component\RequestHandlerComponent::
beforeRedirect()
3.3.5 This functionality will be removed in 4.0.0. You can disable this function now by setting the
enableBeforeRedirect
config option to false.
-
Cake\Controller\Component\RequestHandlerComponent::
isXml()
3.7.0 Use RequestHandler::prefers('xml') instead.
-
Cake\Controller\Component\RequestHandlerComponent::
isRss()
3.7.0 Use RequestHandler::prefers('rss') instead.
-
Cake\Controller\Component\RequestHandlerComponent::
isAtom()
3.7.0 Use RequestHandler::prefers('atom') instead.
-
Cake\Controller\Component\RequestHandlerComponent::
isMobile()
3.7.0 Use ServerRequest::is('mobile') instead.
-
Cake\Controller\Component\RequestHandlerComponent::
isWap()
3.7.0 Use RequestHandler::prefers('wap') instead.
-
Cake\Controller\Component\RequestHandlerComponent::
responseType()
3.7.0 Use $response->mapType($response->getType()) instead.
-
Cake\Controller\Component\RequestHandlerComponent::
addInputType()
3.1.0 Use setConfig('addInputType', ...) instead.
-
Cake\Controller\Component\RequestHandlerComponent::
viewClassMap()
3.1.0 Use setConfig('viewClassMap', ...) instead.
-
Cake\Controller\Component\SecurityComponent::
requireAuth()
3.2.2 This feature is confusing and not useful.
-
Cake\Controller\Component\SecurityComponent::
_authRequired()
3.2.2 This feature is confusing and not useful.
-
Cake\Core\Plugin::
load()
3.7.0 This method will be removed in 4.0.0. Use Application::addPlugin() instead.
-
Cake\Core\Plugin::
loadAll()
3.7.0 This method will be removed in 4.0.0.
-
Cake\Core\Plugin::
bootstrap()
3.7.0 This method will be removed in 4.0.0.
-
Cake\Core\Plugin::
routes()
3.6.5 This method is no longer needed when using HttpApplicationInterface based applications. This method will be removed in 4.0.0
-
Cake\Core\Plugin::
unload()
3.7.0 This method will be removed in 4.0.0. Use PluginCollection::remove() or clear() instead.
-
Cake\Database\Connection::
driver()
3.4.0 Use setDriver()/getDriver() instead.
-
Cake\Database\Connection::
schemaCollection()
3.4.0 Use setSchemaCollection()/getSchemaCollection()
-
Cake\Database\Connection::
useSavePoints()
3.4.0 Use enableSavePoints()/isSavePointsEnabled() instead.
-
Cake\Database\Connection::
logQueries()
3.7.0 Use enableQueryLogging() and isQueryLoggingEnabled() instead.
-
Cake\Database\Connection::
logger()
3.5.0 Use getLogger() and setLogger() instead.
-
Cake\Database\Driver::
connection()
3.6.0 Use getConnection()/setConnection() instead.
-
Cake\Database\Driver::
autoQuoting()
3.4.0 use enableAutoQuoting()/isAutoQuotingEnabled() instead.
-
Cake\Database\Expression\FunctionExpression::
name()
3.4.0 Use setName()/getName() instead.
-
Cake\Database\Expression\QueryExpression::
tieWith()
3.4.0 Use setConjunction()/getConjunction() instead.
-
Cake\Database\Expression\QueryExpression::
type()
3.2.0 Use setConjunction()/getConjunction() instead
-
Cake\Database\Expression\ValuesExpression::
columns()
3.4.0 Use setColumns()/getColumns() instead.
-
Cake\Database\Expression\ValuesExpression::
values()
3.4.0 Use setValues()/getValues() instead.
-
Cake\Database\Expression\ValuesExpression::
query()
3.4.0 Use setQuery()/getQuery() instead.
-
Cake\Database\Query::
connection()
3.4.0 Use setConnection()/getConnection() instead.
-
Cake\Database\Query::
orWhere()
3.5.0 This method creates hard to predict SQL based on the current query state. Use
Query::where()
instead as it has more predicatable and easier to understand behavior.
-
Cake\Database\Query::
orHaving()
3.5.0 This method creates hard to predict SQL based on the current query state. Use
Query::having()
instead as it has more predicatable and easier to understand behavior.
-
Cake\Database\Query::
valueBinder()
3.5.0 Use setValueBinder()/getValueBinder() instead.
-
Cake\Database\Query::
bufferResults()
3.4.0 Use enableBufferedResults()/isBufferedResultsEnabled() instead.
-
Cake\Database\Query::
selectTypeMap()
3.4.0 Use setSelectTypeMap()/getSelectTypeMap() instead.
-
Cake\Database\Schema\CachedCollection::
cacheMetadata()
3.4.0 Use setCacheMetadata()/getCacheMetadata()
-
Cake\Database\Schema\TableSchema::
column()
3.5.0 Use getColumn() instead.
-
Cake\Database\Schema\TableSchema::
columnType()
3.5.0 Use setColumnType()/getColumnType() instead.
-
Cake\Database\Schema\TableSchema::
index()
3.5.0 Use getIndex() instead.
-
Cake\Database\Schema\TableSchema::
constraint()
3.5.0 Use getConstraint() instead.
-
Cake\Database\Schema\TableSchema::
options()
3.4.0 Use setOptions()/getOptions() instead.
-
Cake\Database\Schema\TableSchema::
temporary()
3.4.0 Use setTemporary()/isTemporary() instead.
-
Cake\Database\Type::
_basicTypeCast()
3.1 All types should now be a specific class
-
Cake\Database\Type::
boolval()
3.1.8 This method is now unused.
-
Cake\Database\Type::
strval()
3.1.8 This method is now unused.
-
Cake\Database\TypeMap::
defaults()
3.4.0 Use setDefaults()/getDefaults() instead.
-
Cake\Database\TypeMap::
types()
3.4.0 Use setTypes()/getTypes() instead.
-
Cake\Error\Debugger::
outputAs()
3.5.0 Use getOutputFormat()/setOutputFormat() instead.
-
Cake\Event\Event::
__get()
3.4.0 Public properties will be removed.
-
Cake\Event\Event::
__set()
3.4.0 Public properties will be removed.
-
Cake\Event\Event::
name()
3.4.0 use getName() instead.
-
Cake\Event\Event::
subject()
3.4.0 use getSubject() instead.
-
Cake\Event\Event::
result()
3.4.0 use getResult() instead.
-
Cake\Event\Event::
data()
3.4.0 use getData() instead.
-
Cake\Event\EventManager::
attach()
3.0.0 Use on() instead.
-
Cake\Event\EventManager::
detach()
3.0.0 Use off() instead.
-
Cake\Filesystem\Folder::
normalizePath()
3.7.0 This method will be removed in 4.0.0. Use correctSlashFor() instead.
-
Cake\Filesystem\Folder::
inCakePath()
3.2.12 This method will be removed in 4.0.0. Use inPath() instead.
-
Cake\Form\Form::
validator()
3.6.0 Use Form::getValidator()/setValidator() instead.
-
Cake\Form\Form::
_buildValidator()
3.6.0 Use Form::getValidator()/setValidator() and buildValidator() instead.
-
Cake\Form\Form::
errors()
3.7.0 Use Form::getErrors() instead.
-
Cake\Http\ActionDispatcher::
addFilter()
This is only available for backwards compatibility with DispatchFilters
-
Cake\Http\Client\Message::
headers()
3.3.0 Use getHeaders() instead.
-
Cake\Http\Client\Request::
method()
3.3.0 Use getMethod() and withMethod() instead.
-
Cake\Http\Client\Request::
url()
3.3.0 Use getUri() and withUri() instead.
-
Cake\Http\Client\Request::
header()
3.3.0 Use withHeader() and getHeaderLine() instead.
-
Cake\Http\Client\Request::
cookie()
3.5.0 No longer used. CookieCollections now add
Cookie
header to the request before sending. Use Cake\Http\Cookie\CookieCollection::addToRequest() to make adding cookies to a request easier.
-
Cake\Http\Client\Request::
version()
3.3.0 Use getProtocolVersion() and withProtocolVersion() instead.
-
Cake\Http\Client\Response::
statusCode()
3.3.0 Use getStatusCode() instead.
-
Cake\Http\Client\Response::
encoding()
3.3.0 Use getEncoding() instead.
-
Cake\Http\Client\Response::
header()
3.3.0 Use getHeader() and getHeaderLine() instead.
-
Cake\Http\Client\Response::
cookie()
3.3.0 Use getCookie(), getCookieData() or getCookies() instead.
-
Cake\Http\Client\Response::
version()
3.3.0 Use getProtocolVersion()
-
Cake\Http\Client\Response::
body()
3.7.0 Use getStringBody()/getJson()/getXml() instead.
-
Cake\Http\Response::
send()
3.4.0 Will be removed in 4.0.0
-
Cake\Http\Response::
sendHeaders()
3.4.0 Will be removed in 4.0.0
-
Cake\Http\Response::
_setCookies()
3.4.0 Will be removed in 4.0.0
-
Cake\Http\Response::
_setContent()
3.4.0 Will be removed in 4.0.0
-
Cake\Http\Response::
_sendHeader()
3.4.0 Will be removed in 4.0.0
-
Cake\Http\Response::
_sendContent()
3.4.0 Will be removed in 4.0.0
-
Cake\Http\Response::
header()
3.4.0 Use
withHeader()
,getHeaderLine()
andgetHeaders()
instead.
-
Cake\Http\Response::
location()
3.4.0 Mutable responses are deprecated. Use
withLocation()
andgetHeaderLine()
instead.
-
Cake\Http\Response::
body()
3.4.0 Mutable response methods are deprecated. Use
withBody()
/withStringBody()
andgetBody()
instead.
-
Cake\Http\Response::
statusCode()
3.4.0 Use
getStatusCode()
andwithStatus()
instead.
-
Cake\Http\Response::
httpCodes()
3.4.0 Will be removed in 4.0.0
-
Cake\Http\Response::
type()
3.5.5 Use getType() or withType() instead.
-
Cake\Http\Response::
charset()
3.5.0 Use getCharset()/withCharset() instead.
-
Cake\Http\Response::
disableCache()
3.4.0 Use withDisabledCache() instead.
-
Cake\Http\Response::
cache()
3.4.0 Use withCache() instead.
-
Cake\Http\Response::
sharedMaxAge()
3.6.5 Use withSharedMaxAge() instead.
-
Cake\Http\Response::
maxAge()
3.6.5 Use withMaxAge() instead.
-
Cake\Http\Response::
mustRevalidate()
3.4.0 Use withMustRevalidate() instead.
-
Cake\Http\Response::
expires()
3.4.0 Use withExpires() instead.
-
Cake\Http\Response::
modified()
3.4.0 Use withModified() instead.
-
Cake\Http\Response::
vary()
3.4.0 Use withVary() instead.
-
Cake\Http\Response::
etag()
3.4.0 Use withEtag() instead.
-
Cake\Http\Response::
download()
3.4.0 Use withDownload() instead.
-
Cake\Http\Response::
protocol()
3.4.0 Use getProtocolVersion() instead.
-
Cake\Http\Response::
length()
3.4.0 Use withLength() to set length instead.
-
Cake\Http\Response::
cookie()
3.4.0 Use getCookie(), getCookies() and withCookie() instead.
-
Cake\Http\Response::
file()
3.4.0 Use withFile() instead.
-
Cake\Http\Response::
_fileRange()
3.4.0 Long term this needs to be refactored to follow immutable paradigms. However for now, it is simpler to leave this alone.
-
Cake\Http\Response::
_sendFile()
3.4.0 Will be removed in 4.0.0
-
Cake\Http\Response::
_isActive()
3.4.0 Will be removed in 4.0.0
-
Cake\Http\Response::
_clearBuffer()
3.2.4 This function is not needed anymore
-
Cake\Http\Response::
_flushBuffer()
3.2.4 This function is not needed anymore
-
Cake\Http\Response::
stop()
3.4.0 Will be removed in 4.0.0
-
Cake\Http\Server::
eventManager()
3.6.0 Will be removed in 4.0
-
Cake\Http\ServerRequest::
createFromGlobals()
3.4.0 Use
Cake\Http\ServerRequestFactory
instead.
-
Cake\Http\ServerRequest::
session()
3.5.0 Use getSession() instead. The setter part will be removed.
-
Cake\Http\ServerRequest::
__set()
3.6.0 Public properties will be removed in 4.0.0. Use appropriate setters instead.
-
Cake\Http\ServerRequest::
__get()
3.4.0 Accessing routing parameters through __get will removed in 4.0.0. Use getParam() instead.
-
Cake\Http\ServerRequest::
__isset()
3.4.0 Accessing routing parameters through __isset will removed in 4.0.0. Use getParam() instead.
-
Cake\Http\ServerRequest::
addParams()
3.6.0 ServerRequest::addParams() is deprecated. Use
withParam()
orwithAttribute('params')
instead.
-
Cake\Http\ServerRequest::
addPaths()
3.6.0 Mutating a request in place is deprecated. Use
withAttribute()
to modify paths instead.
-
Cake\Http\ServerRequest::
here()
3.4.0 This method will be removed in 4.0.0. You should use getRequestTarget() instead.
-
Cake\Http\ServerRequest::
header()
4.0.0 The automatic fallback to env() will be removed in 4.0.0, see getHeader()
-
Cake\Http\ServerRequest::
method()
3.4.0 This method will be removed in 4.0.0. Use getMethod() instead.
-
Cake\Http\ServerRequest::
query()
3.4.0 Use getQuery() or the PSR-7 getQueryParams() and withQueryParams() methods instead.
-
Cake\Http\ServerRequest::
data()
3.4.0 Use withData() and getData() or getParsedBody() instead.
-
Cake\Http\ServerRequest::
param()
3.4.0 Use getParam() and withParam() instead.
-
Cake\Http\ServerRequest::
cookie()
3.4.0 Use getCookie() instead.
-
Cake\Http\ServerRequest::
env()
3.5.0 Use getEnv()/withEnv() instead.
-
Cake\Http\ServerRequest::
setInput()
3.4.0 This method will be removed in 4.0.0. Use withBody() instead.
-
Cake\Http\ServerRequest::
offsetGet()
3.4.0 The ArrayAccess methods will be removed in 4.0.0. Use getParam(), getData() and getQuery() instead.
-
Cake\Http\ServerRequest::
offsetSet()
3.4.0 The ArrayAccess methods will be removed in 4.0.0. Use withParam() instead.
-
Cake\Http\ServerRequest::
offsetExists()
3.4.0 The ArrayAccess methods will be removed in 4.0.0. Use getParam() instead.
-
Cake\Http\ServerRequest::
offsetUnset()
3.4.0 The ArrayAccess methods will be removed in 4.0.0. Use withParam() instead.
-
Cake\I18n\I18n::
translator()
3.5 Use getTranslator() and setTranslator()
-
Cake\I18n\I18n::
locale()
3.5 Use setLocale() and getLocale().
-
Cake\I18n\I18n::
defaultLocale()
3.5 Use getDefaultLocale()
-
Cake\I18n\I18n::
defaultFormatter()
3.5 Use getDefaultFormatter() and setDefaultFormatter().
-
Cake\Mailer\Email::
from()
3.4.0 Use setFrom()/getFrom() instead.
-
Cake\Mailer\Email::
sender()
3.4.0 Use setSender()/getSender() instead.
-
Cake\Mailer\Email::
replyTo()
3.4.0 Use setReplyTo()/getReplyTo() instead.
-
Cake\Mailer\Email::
readReceipt()
3.4.0 Use setReadReceipt()/getReadReceipt() instead.
-
Cake\Mailer\Email::
returnPath()
3.4.0 Use setReturnPath()/getReturnPath() instead.
-
Cake\Mailer\Email::
to()
3.4.0 Use setTo()/getTo() instead.
-
Cake\Mailer\Email::
cc()
3.4.0 Use setCc()/getCc() instead.
-
Cake\Mailer\Email::
bcc()
3.4.0 Use setBcc()/getBcc() instead.
-
Cake\Mailer\Email::
charset()
3.4.0 Use setCharset()/getCharset() instead.
-
Cake\Mailer\Email::
headerCharset()
3.4.0 Use setHeaderCharset()/getHeaderCharset() instead.
-
Cake\Mailer\Email::
emailPattern()
3.4.0 Use setEmailPattern()/getEmailPattern() instead.
-
Cake\Mailer\Email::
subject()
3.4.0 Use setSubject()/getSubject() instead.
-
Cake\Mailer\Email::
setLayout()
3.7.0 Use $email->viewBuilder()->setLayout() instead.
-
Cake\Mailer\Email::
getLayout()
3.7.0 Use $email->viewBuilder()->getLayout() instead.
-
Cake\Mailer\Email::
template()
3.4.0 Use setTemplate()/getTemplate() and setLayout()/getLayout() instead.
-
Cake\Mailer\Email::
viewRender()
3.4.0 Use setViewRenderer()/getViewRenderer() instead.
-
Cake\Mailer\Email::
viewVars()
3.4.0 Use setViewVars()/getViewVars() instead.
-
Cake\Mailer\Email::
setTheme()
3.7.0 Use $email->viewBuilder()->setTheme() instead.
-
Cake\Mailer\Email::
getTheme()
3.7.0 Use $email->viewBuilder()->getTheme() instead.
-
Cake\Mailer\Email::
theme()
3.4.0 Use setTheme()/getTheme() instead.
-
Cake\Mailer\Email::
setHelpers()
3.7.0 Use $email->viewBuilder()->setHelpers() instead.
-
Cake\Mailer\Email::
getHelpers()
3.7.0 Use $email->viewBuilder()->getHelpers() instead.
-
Cake\Mailer\Email::
helpers()
3.4.0 Use setHelpers()/getHelpers() instead.
-
Cake\Mailer\Email::
emailFormat()
3.4.0 Use setEmailFormat()/getEmailFormat() instead.
-
Cake\Mailer\Email::
transport()
3.4.0 Use setTransport()/getTransport() instead.
-
Cake\Mailer\Email::
messageId()
3.4.0 Use setMessageId()/getMessageId() instead.
-
Cake\Mailer\Email::
domain()
3.4.0 Use setDomain()/getDomain() instead.
-
Cake\Mailer\Email::
attachments()
3.4.0 Use setAttachments()/getAttachments() instead.
-
Cake\Mailer\Email::
setConfigTransport()
3.7.0 Use TransportFactory::setConfig() instead.
-
Cake\Mailer\Email::
getConfigTransport()
3.7.0 Use TransportFactory::getConfig() instead.
-
Cake\Mailer\Email::
configTransport()
3.4.0 Use TransportFactory::setConfig()/getConfig() instead.
-
Cake\Mailer\Email::
configuredTransport()
3.7.0 Use TransportFactory::configured() instead.
-
Cake\Mailer\Email::
dropTransport()
3.7.0 Use TransportFactory::drop() instead.
-
Cake\Mailer\Email::
profile()
3.4.0 Use setProfile()/getProfile() instead.
-
Cake\Mailer\Mailer::
layout()
3.4.0 Use setLayout() which sets the layout on the email class instead.
-
Cake\ORM\Association::
name()
3.4.0 Use setName()/getName() instead.
-
Cake\ORM\Association::
cascadeCallbacks()
3.4.0 Use setCascadeCallbacks()/getCascadeCallbacks() instead.
-
Cake\ORM\Association::
className()
3.7.0 Use getClassName() instead.
-
Cake\ORM\Association::
source()
3.4.0 Use setSource()/getSource() instead.
-
Cake\ORM\Association::
target()
3.4.0 Use setTarget()/getTarget() instead.
-
Cake\ORM\Association::
conditions()
3.4.0 Use setConditions()/getConditions() instead.
-
Cake\ORM\Association::
bindingKey()
3.4.0 Use setBindingKey()/getBindingKey() instead.
-
Cake\ORM\Association::
foreignKey()
3.4.0 Use setForeignKey()/getForeignKey() instead.
-
Cake\ORM\Association::
dependent()
3.4.0 Use setDependent()/getDependent() instead.
-
Cake\ORM\Association::
joinType()
3.4.0 Use setJoinType()/getJoinType() instead.
-
Cake\ORM\Association::
property()
3.4.0 Use setProperty()/getProperty() instead.
-
Cake\ORM\Association::
strategy()
3.4.0 Use setStrategy()/getStrategy() instead.
-
Cake\ORM\Association::
finder()
3.4.0 Use setFinder()/getFinder() instead.
-
Cake\ORM\Association\BelongsToMany::
targetForeignKey()
3.4.0 Use setTargetForeignKey()/getTargetForeignKey() instead.
-
Cake\ORM\Association\BelongsToMany::
sort()
3.5.0 Use setSort()/getSort() instead.
-
Cake\ORM\Association\BelongsToMany::
saveStrategy()
3.4.0 Use setSaveStrategy()/getSaveStrategy() instead.
-
Cake\ORM\Association\HasMany::
saveStrategy()
3.4.0 Use setSaveStrategy()/getSaveStrategy() instead.
-
Cake\ORM\Association\HasMany::
sort()
3.4.0 Use setSort()/getSort() instead.
-
Cake\ORM\AssociationCollection::
type()
3.5.3 Use getByType() instead.
-
Cake\ORM\Behavior\TranslateBehavior::
locale()
3.6.0 Use setLocale()/getLocale() instead.
-
Cake\ORM\EagerLoader::
autoFields()
3.4.0 Use enableAutoFields()/isAutoFieldsEnabled() instead.
-
Cake\ORM\EagerLoader::
matching()
3.4.0 Use setMatching()/getMatching() instead.
-
Cake\ORM\Locator\TableLocator::
config()
3.4.0 Use setConfig()/getConfig() instead.
-
Cake\ORM\Marshaller::
_loadBelongsToMany()
Use _loadAssociatedByIds()
-
Cake\ORM\Query::
eagerLoader()
3.4.0 Use setEagerLoader()/getEagerLoader() instead.
-
Cake\ORM\Query::
hydrate()
3.4.0 Use enableHydration()/isHydrationEnabled() instead.
-
Cake\ORM\Query::
autoFields()
3.4.0 Use enableAutoFields()/isAutoFieldsEnabled() instead.
-
Cake\ORM\ResultSet::
_calculateTypeMap()
3.2.0 Not used anymore. Type casting is done at the statement level
-
Cake\ORM\ResultSet::
_castValues()
3.2.0 Not used anymore. Type casting is done at the statement level
-
Cake\ORM\Table::
table()
3.4.0 Use setTable()/getTable() instead.
-
Cake\ORM\Table::
alias()
3.4.0 Use setAlias()/getAlias() instead.
-
Cake\ORM\Table::
registryAlias()
3.4.0 Use setRegistryAlias()/getRegistryAlias() instead.
-
Cake\ORM\Table::
connection()
3.4.0 Use setConnection()/getConnection() instead.
-
Cake\ORM\Table::
schema()
3.4.0 Use setSchema()/getSchema() instead.
-
Cake\ORM\Table::
primaryKey()
3.4.0 Use setPrimaryKey()/getPrimaryKey() instead.
-
Cake\ORM\Table::
displayField()
3.4.0 Use setDisplayField()/getDisplayField() instead.
-
Cake\ORM\Table::
entityClass()
3.4.0 Use setEntityClass()/getEntityClass() instead.
-
Cake\ORM\Table::
association()
3.6.0 Use getAssociation() and Table::hasAssociation() instead.
-
Cake\ORM\TableRegistry::
locator()
3.5.0 Use getTableLocator()/setTableLocator() instead.
-
Cake\ORM\TableRegistry::
config()
3.6.0 Use \Cake\ORM\Locator\TableLocator::getConfig()/setConfig() instead.
-
Cake\ORM\TableRegistry::
get()
3.6.0 Use \Cake\ORM\Locator\TableLocator::get() instead.
-
Cake\ORM\TableRegistry::
exists()
3.6.0 Use \Cake\ORM\Locator\TableLocator::exists() instead.
-
Cake\ORM\TableRegistry::
set()
3.6.0 Use \Cake\ORM\Locator\TableLocator::set() instead.
-
Cake\ORM\TableRegistry::
remove()
3.6.0 Use \Cake\ORM\Locator\TableLocator::remove() instead.
-
Cake\ORM\TableRegistry::
clear()
3.6.0 Use \Cake\ORM\Locator\TableLocator::clear() instead.
-
Cake\Routing\Route\Route::
extensions()
3.3.9 Use getExtensions/setExtensions instead.
-
Cake\Routing\Route\Route::
parse()
3.4.0 Use/implement parseRequest() instead as it provides more flexibility/control.
-
Cake\Routing\RouteBuilder::
routeClass()
3.5.0 Use getRouteClass/setRouteClass instead.
-
Cake\Routing\RouteBuilder::
extensions()
3.5.0 Use getExtensions/setExtensions instead.
-
Cake\Routing\Router::
redirect()
3.3.0 Use Router::scope() and RouteBuilder::redirect() instead.
-
Cake\Routing\Router::
mapResources()
3.3.0 Use Router::scope() and RouteBuilder::resources() instead.
-
Cake\Routing\Router::
parse()
3.4.0 Use Router::parseRequest() instead.
-
Cake\Routing\Router::
parseNamedParams()
3.3.0 Named parameter backwards compatibility will be removed in 4.0.
-
Cake\Routing\Router::
_loadRoutes()
3.5.0 Routes will be loaded via the Application::routes() hook in 4.0.0
-
Cake\TestSuite\Fixture\TestFixture::
schema()
3.5.0 Use getTableSchema/setTableSchema instead.
-
Cake\TestSuite\TestCase::
assertTags()
3.0. Use assertHtml() instead.
-
Cake\Utility\Inflector::
slug()
3.2.7 Use Text::slug() instead.
-
Cake\Utility\Security::
rijndael()
3.6.3 This method relies on functions provided by mcrypt extension which has been deprecated in PHP 7.1 and removed in PHP 7.2. There's no 1:1 replacement for this method. Upgrade your code to use Security::encrypt()/Security::decrypt() with OpenSsl engine instead.
-
Cake\Utility\Security::
salt()
3.5.0 Use getSalt()/setSalt() instead.
-
Cake\Utility\Text::
stripLinks()
3.2.12 This method will be removed in 4.0.0
-
Cake\Validation\Validation::
notEmpty()
3.0.2 Use Validation::notBlank() instead.
-
Cake\Validation\Validation::
blank()
3.0.2 Validation::blank() is deprecated.
-
Cake\Validation\Validation::
cc()
3.7.0 Use Validation::creditCard() instead.
-
Cake\Validation\Validation::
userDefined()
3.0.2 You can just set a callable for
rule
key when adding validators.
-
Cake\Validation\Validator::
provider()
3.4.0 Use setProvider()/getProvider() instead.
-
Cake\Validation\Validator::
allowEmpty()
3.7.0 Use allowEmptyString(), allowEmptyArray(), allowEmptyFile(), allowEmptyDate(), allowEmptyTime() or allowEmptyDateTime() instead.
-
Cake\Validation\Validator::
notEmpty()
3.7.0 Use allowEmptyString(), allowEmptyArray(), allowEmptyFile(), allowEmptyDate(), allowEmptyTime() or allowEmptyDateTime() with reversed conditions instead.
-
Cake\Validation\Validator::
_fieldIsEmpty()
3.7.0 Use isEmpty() instead
-
Cake\View\Helper\FormHelper::
widgetRegistry()
3.6.0 Use FormHelper::widgetLocator() instead.
-
Cake\View\Helper\FormHelper::
allInputs()
3.4.0 Use FormHelper::allControls() instead.
-
Cake\View\Helper\FormHelper::
inputs()
3.4.0 Use FormHelper::controls() instead.
-
Cake\View\Helper\FormHelper::
input()
3.4.0 Use FormHelper::control() instead.
-
Cake\View\Helper\HtmlHelper::
addCrumb()
3.3.6 Use the BreadcrumbsHelper instead
-
Cake\View\Helper\HtmlHelper::
getCrumbs()
3.3.6 Use the BreadcrumbsHelper instead
-
Cake\View\Helper\HtmlHelper::
getCrumbList()
3.3.6 Use the BreadcrumbsHelper instead
-
Cake\View\Helper\HtmlHelper::
_prepareCrumbs()
3.3.6 Use the BreadcrumbsHelper instead
-
Cake\View\View::
templatePath()
3.5.0 Use getTemplatePath()/setTemplatePath() instead.
-
Cake\View\View::
layoutPath()
3.5.0 Use getLayoutPath()/setLayoutPath() instead.
-
Cake\View\View::
autoLayout()
3.5.0 Use isAutoLayoutEnabled()/enableAutoLayout() instead.
-
Cake\View\View::
theme()
3.5.0 Use getTheme()/setTheme() instead.
-
Cake\View\View::
template()
3.5.0 Use getTemplate()/setTemplate() instead.
-
Cake\View\View::
layout()
3.5.0 Use getLayout()/setLayout() instead.
-
Cake\View\View::
uuid()
3.7.0 This method is deprecated and will be removed in 4.0.0.
-
Cake\View\ViewBuilder::
templatePath()
3.4.0 Use setTemplatePath()/getTemplatePath() instead.
-
Cake\View\ViewBuilder::
layoutPath()
3.4.0 Use setLayoutPath()/getLayoutPath() instead.
-
Cake\View\ViewBuilder::
autoLayout()
3.4.0 Use enableAutoLayout()/isAutoLayoutEnabled() instead.
-
Cake\View\ViewBuilder::
plugin()
3.4.0 Use setPlugin()/getPlugin() instead.
-
Cake\View\ViewBuilder::
helpers()
3.4.0 Use setHelpers()/getHelpers() instead.
-
Cake\View\ViewBuilder::
theme()
3.4.0 Use setTheme()/getTheme() instead.
-
Cake\View\ViewBuilder::
template()
3.4.0 Use setTemplate()/getTemplate()
-
Cake\View\ViewBuilder::
layout()
3.4.0 Use setLayout()/getLayout() instead.
-
Cake\View\ViewBuilder::
options()
3.4.0 Use setOptions()/getOptions() instead.
-
Cake\View\ViewBuilder::
name()
3.4.0 Use setName()/getName() instead.
-
Cake\View\ViewBuilder::
className()
3.4.0 Use setClassName()/getClassName() instead.
-
Cake\Database\TypedResultInterface::
returnType()
3.5.0 Use getReturnType()/setReturnType() instead.
-
Cake\Datasource\ConnectionInterface::
logger()
3.5.0 Will be replaced by getLogger()/setLogger()
-
Cake\Datasource\EntityInterface::
dirty()
3.4.0 Use setDirty() and isDirty() instead.
-
Cake\Datasource\EntityInterface::
errors()
3.4.0 Use setErrors() and getErrors() instead.
-
Cake\Datasource\EntityInterface::
accessible()
3.4.0 Use setAccess() and isAccessible() instead.
-
Cake\Datasource\InvalidPropertyInterface::
invalid()
3.5.0 Use getInvalid()/getInvalidField() and setInvalid()/setInvalidField() instead.
-
Cake\Datasource\RepositoryInterface::
alias()
3.4.0 Use setAlias()/getAlias() instead.
-
Cake\Event\EventDispatcherInterface::
eventManager()
3.5.0 Use getEventManager()/setEventManager() instead.
-
Cake\Core\InstanceConfigTrait::
config()
3.4.0 use setConfig()/getConfig() instead.
-
Cake\Core\StaticConfigTrait::
config()
3.4.0 Use setConfig()/getConfig() instead.
-
Cake\Core\StaticConfigTrait::
dsnClassMap()
3.4.0 Use setDsnClassMap()/getDsnClassMap() instead.
-
Cake\Database\TypedResultTrait::
returnType()
3.5.0 Use getReturnType()/setReturnType() instead.
-
Cake\Database\TypeMapTrait::
typeMap()
3.4.0 Use setTypeMap()/getTypeMap() instead.
-
Cake\Database\TypeMapTrait::
defaultTypes()
3.4.0 Use setDefaultTypes()/getDefaultTypes() instead.
-
Cake\Datasource\EntityTrait::
hiddenProperties()
3.4.0 Use EntityTrait::setHidden() and EntityTrait::getHidden()
-
Cake\Datasource\EntityTrait::
virtualProperties()
3.4.0 Use EntityTrait::getVirtual() and EntityTrait::setVirtual()
-
Cake\Datasource\EntityTrait::
dirty()
3.4.0 Use EntityTrait::setDirty() and EntityTrait::isDirty()
-
Cake\Datasource\EntityTrait::
errors()
3.4.0 Use EntityTrait::setError(), EntityTrait::setErrors(), EntityTrait::getError() and EntityTrait::getErrors()
-
Cake\Datasource\EntityTrait::
invalid()
3.5 Use getInvalid()/getInvalidField()/setInvalid() instead.
-
Cake\Datasource\EntityTrait::
accessible()
3.4.0 Use EntityTrait::setAccess() and EntityTrait::isAccessible()
-
Cake\Datasource\EntityTrait::
source()
3.4.0 Use EntityTrait::getSource() and EntityTrait::setSource()
-
Cake\Datasource\ModelAwareTrait::
modelType()
3.5.0 Use getModelType()/setModelType() instead.
-
Cake\Datasource\QueryTrait::
eagerLoaded()
3.5.0 Use isEagerLoaded() for the getter part instead.
-
Cake\Event\EventDispatcherTrait::
eventManager()
3.5.0 Use getEventManager()/setEventManager() instead.
-
Cake\ORM\Locator\LocatorAwareTrait::
tableLocator()
3.5.0 Use getTableLocator()/setTableLocator() instead.
-
Cake\Routing\RequestActionTrait::
requestAction()
3.3.0 You should refactor your code to use View Cells instead of this method.
-
Cake\Validation\ValidatorAwareTrait::
validator()
3.5.0 Use getValidator/setValidator instead.
-
Cake\View\StringTemplateTrait::
templates()
3.4.0 Use setTemplates()/getTemplates() instead.
-
Cake\View\ViewVarsTrait::
viewOptions()
3.7.0 Use ViewBuilder::setOptions() or any one of it's setter methods instead.
Constants summary
-
Cake\View\View::
TYPE_VIEW
3.1.0 Use TYPE_TEMPLATE instead.
Properties summary
-
Cake\Controller\Component::
$request
3.4.0 Storing references to the request is deprecated. Use Component::getController() or callback $event->getSubject() to access the controller & request instead.
-
Cake\Controller\Component::
$response
3.4.0 Storing references to the response is deprecated. Use Component::getController() or callback $event->getSubject() to access the controller & response instead.
-
Cake\Controller\Component\AuthComponent::
$session
3.1.0 Will be removed in 4.0
-
Cake\Controller\Component\CookieComponent::
$_response
3.4.0 Will be removed in 4.0.0
-
Cake\Controller\Component\FlashComponent::
$_session
3.7.5 This property will be removed in 4.0.0 in favor of
getSession()
method.
-
Cake\Controller\Component\RequestHandlerComponent::
$enabled
3.4.0 Unused. Will be removed in 4.0.0
-
Cake\Controller\Component\RequestHandlerComponent::
$ajaxLayout
3.3.11 This feature property is not supported and will be removed in 4.0.0
-
Cake\Controller\Controller::
$helpers
3.0.0 You should configure helpers in your AppView::initialize() method.
-
Cake\Controller\Controller::
$components
3.0.0 You should configure components in your Controller::initialize() method.
-
Cake\Controller\Controller::
$View
3.1.0 Use viewBuilder() instead.
-
Cake\Controller\Controller::
$_validViewOptions
3.7.0 Use ViewBuilder::setOptions() or any one of it's setter methods instead.
-
Cake\Controller\Controller::
$passedArgs
3.1.0 Use
$this->request->getParam('pass')
instead.
-
Cake\Database\Type::
$_basicTypes
3.1 All types will now use a specific class
-
Cake\Database\Type\DateTimeType::
$dateTimeClass
3.2.0 Use DateTimeType::useMutable() or DateTimeType::useImmutable() instead.
-
Cake\Database\Type\DateType::
$dateTimeClass
3.2.0 Use DateType::useMutable() or DateType::useImmutable() instead.
-
Cake\Http\ServerRequest::
$params
3.4.0 This public property will be removed in 4.0.0. Use getParam() instead.
-
Cake\Http\ServerRequest::
$data
3.4.0 This public property will be removed in 4.0.0. Use getData() instead.
-
Cake\Http\ServerRequest::
$query
3.4.0 This public property will be removed in 4.0.0. Use getQuery() or getQueryParams() instead.
-
Cake\Http\ServerRequest::
$cookies
3.4.0 This public property will be removed in 4.0.0. Use getCookie() instead.
-
Cake\Http\ServerRequest::
$url
3.6.0 This public property will be removed in 4.0.0. Use getPath() instead.
-
Cake\Http\ServerRequest::
$base
3.4.0 This public property will be removed in 4.0.0. Use getAttribute('base') instead.
-
Cake\Http\ServerRequest::
$webroot
3.4.0 This public property will be removed in 4.0.0. Use getAttribute('webroot') instead.
-
Cake\Http\ServerRequest::
$here
3.4.0 This public property will be removed in 4.0.0. Use getAttribute('here') or getUri()->getPath() instead.
-
Cake\Mailer\Email::
$_dsnClassMap
3.7.0 This property is unused and will be removed in 4.0.0.
-
Cake\ORM\ResultSet::
$_query
3.1.6 Due to a memory leak, this property cannot be used anymore
-
Cake\Routing\Route\RedirectRoute::
$response
3.2.0 This property is unused.
-
Cake\Routing\Router::
$initialized
3.5.0 Routes will be loaded via the Application::routes() hook in 4.0.0
-
Cake\View\Cell::
$_validViewOptions
3.7.0 Use ViewBuilder::setOptions() or any one of it's setter methods instead.
-
Cake\View\Helper::
$fieldset
3.7.0 This property is unused and will be removed in 4.0.0.
-
Cake\View\Helper::
$tags
3.7.0 This property is unused and will be removed in 4.0.0.
-
Cake\View\Helper\HtmlHelper::
$_crumbs
3.3.6 Use the BreadcrumbsHelper instead
-
Cake\View\View::
$passedArgs
3.1.0 Use
$this->request->getParam('pass')
instead.
-
Cake\View\View::
$hasRendered
3.7.0 The property is deprecated and will be removed in 4.0.0.
-
Cake\View\View::
$uuids
3.7.0 The property is deprecated and will be removed in 4.0.0.
-
Cake\Datasource\EntityTrait::
$_className
3.2 This field is no longer being used
-
Cake\I18n\DateFormatTrait::
$defaultLocale
3.2.9 Use static::setDefaultLocale() and static::getDefaultLocale() instead.
-
Cake\View\ViewVarsTrait::
$viewClass
3.1.0 Use
$this->viewBuilder()->getClassName()
/$this->viewBuilder()->setClassName()
instead.
-
Cake\View\ViewVarsTrait::
$viewVars
3.7.0 Use
$this->set()
instead, also see$this->viewBuilder()->getVar()
.