CakePHP
  • Documentation
    • Book
    • API
    • Videos
    • Logos & Trademarks
  • Business Solutions
  • Swag
  • Road Trip
  • Team
  • Community
    • Community
    • Team
    • Issues (Github)
    • YouTube Channel
    • Get Involved
    • Bakery
    • Featured Resources
    • Newsletter
    • Certification
    • My CakePHP
    • CakeFest
    • Facebook
    • Twitter
    • Help & Support
    • Forum
    • Stack Overflow
    • IRC
    • Slack
    • Paid Support
CakePHP

C CakePHP 3.8 Red Velvet API

  • Overview
  • Tree
  • Deprecated
  • Version:
    • 3.8
      • 3.8
      • 3.7
      • 3.6
      • 3.5
      • 3.4
      • 3.3
      • 3.2
      • 3.1
      • 3.0
      • 2.10
      • 2.9
      • 2.8
      • 2.7
      • 2.6
      • 2.5
      • 2.4
      • 2.3
      • 2.2
      • 2.1
      • 2.0
      • 1.3
      • 1.2

Namespaces

  • Cake
    • Auth
      • Storage
    • Cache
      • Engine
    • Collection
      • Iterator
    • Command
    • Console
      • Exception
    • Controller
      • Component
      • Exception
    • Core
      • Configure
        • Engine
      • Exception
      • Retry
    • Database
      • Driver
      • Exception
      • Expression
      • Schema
      • Statement
      • Type
    • Datasource
      • Exception
    • Error
      • Middleware
    • Event
      • Decorator
    • Filesystem
    • Form
    • Http
      • Client
        • Adapter
        • Auth
      • Cookie
      • Exception
      • Middleware
      • Session
    • I18n
      • Formatter
      • Middleware
      • Parser
    • Log
      • Engine
    • Mailer
      • Exception
      • Transport
    • Network
      • Exception
    • ORM
      • Association
      • Behavior
        • Translate
      • Exception
      • Locator
      • Rule
    • Routing
      • Exception
      • Filter
      • Middleware
      • Route
    • Shell
      • Helper
      • Task
    • TestSuite
      • Fixture
      • Stub
    • Utility
      • Exception
    • Validation
    • View
      • Exception
      • Form
      • Helper
      • Widget
  • None

Classes

  • Cake\Auth\AbstractPasswordHasher
  • Cake\Auth\BaseAuthenticate
  • Cake\Auth\BaseAuthorize
  • Cake\Auth\BasicAuthenticate
  • Cake\Auth\ControllerAuthorize
  • Cake\Auth\DefaultPasswordHasher
  • Cake\Auth\DigestAuthenticate
  • Cake\Auth\FallbackPasswordHasher
  • Cake\Auth\FormAuthenticate
  • Cake\Auth\PasswordHasherFactory
  • Cake\Auth\Storage\MemoryStorage
  • Cake\Auth\Storage\SessionStorage
  • Cake\Auth\WeakPasswordHasher
  • Cake\Cache\Cache
  • Cake\Cache\CacheEngine
  • Cake\Cache\CacheRegistry
  • Cake\Cache\Engine\ApcuEngine
  • Cake\Cache\Engine\ArrayEngine
  • Cake\Cache\Engine\FileEngine
  • Cake\Cache\Engine\MemcachedEngine
  • Cake\Cache\Engine\NullEngine
  • Cake\Cache\Engine\RedisEngine
  • Cake\Cache\Engine\WincacheEngine
  • Cake\Cache\Engine\XcacheEngine
  • Cake\Cache\SimpleCacheEngine
  • Cake\Collection\Collection
  • Cake\Collection\Iterator\BufferedIterator
  • Cake\Collection\Iterator\ExtractIterator
  • Cake\Collection\Iterator\FilterIterator
  • Cake\Collection\Iterator\InsertIterator
  • Cake\Collection\Iterator\MapReduce
  • Cake\Collection\Iterator\NestIterator
  • Cake\Collection\Iterator\NoChildrenIterator
  • Cake\Collection\Iterator\ReplaceIterator
  • Cake\Collection\Iterator\SortIterator
  • Cake\Collection\Iterator\TreeIterator
  • Cake\Collection\Iterator\TreePrinter
  • Cake\Collection\Iterator\ZipIterator
  • Cake\Command\HelpCommand
  • Cake\Command\VersionCommand
  • Cake\Console\Arguments
  • Cake\Console\Command
  • Cake\Console\CommandCollection
  • Cake\Console\CommandFactory
  • Cake\Console\CommandRunner
  • Cake\Console\ConsoleErrorHandler
  • Cake\Console\ConsoleInput
  • Cake\Console\ConsoleInputArgument
  • Cake\Console\ConsoleInputOption
  • Cake\Console\ConsoleInputSubcommand
  • Cake\Console\ConsoleIo
  • Cake\Console\ConsoleOptionParser
  • Cake\Console\ConsoleOutput
  • Cake\Console\Helper
  • Cake\Console\HelperRegistry
  • Cake\Console\HelpFormatter
  • Cake\Console\Shell
  • Cake\Console\ShellDispatcher
  • Cake\Console\TaskRegistry
  • Cake\Controller\Component
  • Cake\Controller\Component\AuthComponent
  • Cake\Controller\Component\CookieComponent
  • Cake\Controller\Component\CsrfComponent
  • Cake\Controller\Component\FlashComponent
  • Cake\Controller\Component\PaginatorComponent
  • Cake\Controller\Component\RequestHandlerComponent
  • Cake\Controller\Component\SecurityComponent
  • Cake\Controller\ComponentRegistry
  • Cake\Controller\Controller
  • Cake\Controller\ErrorController
  • Cake\Core\App
  • Cake\Core\BasePlugin
  • Cake\Core\ClassLoader
  • Cake\Core\Configure
  • Cake\Core\Configure\Engine\IniConfig
  • Cake\Core\Configure\Engine\JsonConfig
  • Cake\Core\Configure\Engine\PhpConfig
  • Cake\Core\ObjectRegistry
  • Cake\Core\Plugin
  • Cake\Core\PluginCollection
  • Cake\Core\Retry\CommandRetry
  • Cake\Database\Connection
  • Cake\Database\Driver
  • Cake\Database\Driver\Mysql
  • Cake\Database\Driver\Postgres
  • Cake\Database\Driver\Sqlite
  • Cake\Database\Driver\Sqlserver
  • Cake\Database\Expression\BetweenExpression
  • Cake\Database\Expression\CaseExpression
  • Cake\Database\Expression\Comparison
  • Cake\Database\Expression\FunctionExpression
  • Cake\Database\Expression\IdentifierExpression
  • Cake\Database\Expression\OrderByExpression
  • Cake\Database\Expression\OrderClauseExpression
  • Cake\Database\Expression\QueryExpression
  • Cake\Database\Expression\TupleComparison
  • Cake\Database\Expression\UnaryExpression
  • Cake\Database\Expression\ValuesExpression
  • Cake\Database\FieldTypeConverter
  • Cake\Database\FunctionsBuilder
  • Cake\Database\Query
  • Cake\Database\Schema\BaseSchema
  • Cake\Database\Schema\CachedCollection
  • Cake\Database\Schema\Collection
  • Cake\Database\Schema\MysqlSchema
  • Cake\Database\Schema\PostgresSchema
  • Cake\Database\Schema\SqliteSchema
  • Cake\Database\Schema\SqlserverSchema
  • Cake\Database\Schema\TableSchema
  • Cake\Database\SchemaCache
  • Cake\Database\Statement\BufferedStatement
  • Cake\Database\Statement\CallbackStatement
  • Cake\Database\Statement\PDOStatement
  • Cake\Database\Statement\StatementDecorator
  • Cake\Database\Type
  • Cake\Database\Type\BinaryType
  • Cake\Database\Type\BinaryUuidType
  • Cake\Database\Type\BoolType
  • Cake\Database\Type\DateTimeType
  • Cake\Database\Type\DateType
  • Cake\Database\Type\DecimalType
  • Cake\Database\Type\FloatType
  • Cake\Database\Type\IntegerType
  • Cake\Database\Type\JsonType
  • Cake\Database\Type\StringType
  • Cake\Database\Type\TimeType
  • Cake\Database\Type\UuidType
  • Cake\Database\TypeMap
  • Cake\Datasource\ConnectionManager
  • Cake\Datasource\ConnectionRegistry
  • Cake\Datasource\FactoryLocator
  • Cake\Datasource\Paginator
  • Cake\Datasource\QueryCacher
  • Cake\Datasource\ResultSetDecorator
  • Cake\Datasource\RulesChecker
  • Cake\Error\BaseErrorHandler
  • Cake\Error\Debugger
  • Cake\Error\ErrorHandler
  • Cake\Error\ExceptionRenderer
  • Cake\Error\Middleware\ErrorHandlerMiddleware
  • Cake\Event\Decorator\AbstractDecorator
  • Cake\Event\Decorator\ConditionDecorator
  • Cake\Event\Decorator\SubjectFilterDecorator
  • Cake\Event\Event
  • Cake\Event\EventList
  • Cake\Event\EventManager
  • Cake\Filesystem\File
  • Cake\Filesystem\Folder
  • Cake\Form\Form
  • Cake\Form\Schema
  • Cake\Http\ActionDispatcher
  • Cake\Http\BaseApplication
  • Cake\Http\Client
  • Cake\Http\Client\Adapter\Curl
  • Cake\Http\Client\Adapter\Stream
  • Cake\Http\Client\Auth\Basic
  • Cake\Http\Client\Auth\Digest
  • Cake\Http\Client\Auth\Oauth
  • Cake\Http\Client\CookieCollection
  • Cake\Http\Client\FormData
  • Cake\Http\Client\Message
  • Cake\Http\Client\Request
  • Cake\Http\Client\Response
  • Cake\Http\ControllerFactory
  • Cake\Http\Cookie\Cookie
  • Cake\Http\Cookie\CookieCollection
  • Cake\Http\CorsBuilder
  • Cake\Http\Middleware\BodyParserMiddleware
  • Cake\Http\Middleware\CsrfProtectionMiddleware
  • Cake\Http\Middleware\EncryptedCookieMiddleware
  • Cake\Http\Middleware\SecurityHeadersMiddleware
  • Cake\Http\MiddlewareQueue
  • Cake\Http\Response
  • Cake\Http\ResponseEmitter
  • Cake\Http\Runner
  • Cake\Http\Server
  • Cake\Http\ServerRequest
  • Cake\Http\ServerRequestFactory
  • Cake\Http\Session
  • Cake\Http\Session\CacheSession
  • Cake\Http\Session\DatabaseSession
  • Cake\I18n\ChainMessagesLoader
  • Cake\I18n\Date
  • Cake\I18n\Formatter\IcuFormatter
  • Cake\I18n\Formatter\SprintfFormatter
  • Cake\I18n\FrozenDate
  • Cake\I18n\FrozenTime
  • Cake\I18n\I18n
  • Cake\I18n\MessagesFileLoader
  • Cake\I18n\Middleware\LocaleSelectorMiddleware
  • Cake\I18n\Number
  • Cake\I18n\Parser\MoFileParser
  • Cake\I18n\Parser\PoFileParser
  • Cake\I18n\PluralRules
  • Cake\I18n\Time
  • Cake\I18n\TranslatorRegistry
  • Cake\Log\Engine\BaseLog
  • Cake\Log\Engine\ConsoleLog
  • Cake\Log\Engine\FileLog
  • Cake\Log\Engine\SyslogLog
  • Cake\Log\Log
  • Cake\Log\LogEngineRegistry
  • Cake\Mailer\AbstractTransport
  • Cake\Mailer\Email
  • Cake\Mailer\Mailer
  • Cake\Mailer\Transport\DebugTransport
  • Cake\Mailer\Transport\MailTransport
  • Cake\Mailer\Transport\SmtpTransport
  • Cake\Mailer\TransportFactory
  • Cake\Mailer\TransportRegistry
  • Cake\Network\Socket
  • Cake\ORM\Association
  • Cake\ORM\Association\BelongsTo
  • Cake\ORM\Association\BelongsToMany
  • Cake\ORM\Association\HasMany
  • Cake\ORM\Association\HasOne
  • Cake\ORM\AssociationCollection
  • Cake\ORM\Behavior
  • Cake\ORM\Behavior\CounterCacheBehavior
  • Cake\ORM\Behavior\TimestampBehavior
  • Cake\ORM\Behavior\TranslateBehavior
  • Cake\ORM\Behavior\TreeBehavior
  • Cake\ORM\BehaviorRegistry
  • Cake\ORM\EagerLoader
  • Cake\ORM\Entity
  • Cake\ORM\Locator\TableLocator
  • Cake\ORM\Marshaller
  • Cake\ORM\Query
  • Cake\ORM\ResultSet
  • Cake\ORM\Rule\ExistsIn
  • Cake\ORM\Rule\IsUnique
  • Cake\ORM\Rule\ValidCount
  • Cake\ORM\RulesChecker
  • Cake\ORM\SaveOptionsBuilder
  • Cake\ORM\Table
  • Cake\ORM\TableRegistry
  • Cake\Routing\Dispatcher
  • Cake\Routing\DispatcherFactory
  • Cake\Routing\DispatcherFilter
  • Cake\Routing\Filter\AssetFilter
  • Cake\Routing\Filter\ControllerFactoryFilter
  • Cake\Routing\Filter\LocaleSelectorFilter
  • Cake\Routing\Filter\RoutingFilter
  • Cake\Routing\Middleware\AssetMiddleware
  • Cake\Routing\Middleware\RoutingMiddleware
  • Cake\Routing\Route\DashedRoute
  • Cake\Routing\Route\EntityRoute
  • Cake\Routing\Route\InflectedRoute
  • Cake\Routing\Route\PluginShortRoute
  • Cake\Routing\Route\RedirectRoute
  • Cake\Routing\Route\Route
  • Cake\Routing\RouteBuilder
  • Cake\Routing\Router
  • Cake\Shell\CacheShell
  • Cake\Shell\CommandListShell
  • Cake\Shell\CompletionShell
  • Cake\Shell\Helper\ProgressHelper
  • Cake\Shell\Helper\TableHelper
  • Cake\Shell\I18nShell
  • Cake\Shell\OrmCacheShell
  • Cake\Shell\PluginShell
  • Cake\Shell\RoutesShell
  • Cake\Shell\SchemaCacheShell
  • Cake\Shell\ServerShell
  • Cake\Shell\Task\AssetsTask
  • Cake\Shell\Task\CommandTask
  • Cake\Shell\Task\ExtractTask
  • Cake\Shell\Task\LoadTask
  • Cake\Shell\Task\UnloadTask
  • Cake\TestSuite\ConsoleIntegrationTestCase
  • Cake\TestSuite\Fixture\FixtureInjector
  • Cake\TestSuite\Fixture\FixtureManager
  • Cake\TestSuite\Fixture\TestFixture
  • Cake\TestSuite\IntegrationTestCase
  • Cake\TestSuite\LegacyCommandRunner
  • Cake\TestSuite\LegacyShellDispatcher
  • Cake\TestSuite\Stub\ConsoleInput
  • Cake\TestSuite\Stub\ConsoleOutput
  • Cake\TestSuite\Stub\Response
  • Cake\TestSuite\TestCase
  • Cake\TestSuite\TestEmailTransport
  • Cake\TestSuite\TestSuite
  • Cake\Utility\Hash
  • Cake\Utility\Inflector
  • Cake\Utility\Security
  • Cake\Utility\Text
  • Cake\Utility\Xml
  • Cake\Validation\RulesProvider
  • Cake\Validation\Validation
  • Cake\Validation\ValidationRule
  • Cake\Validation\ValidationSet
  • Cake\Validation\Validator
  • Cake\View\AjaxView
  • Cake\View\Cell
  • Cake\View\Form\ArrayContext
  • Cake\View\Form\ContextFactory
  • Cake\View\Form\EntityContext
  • Cake\View\Form\FormContext
  • Cake\View\Form\NullContext
  • Cake\View\Helper
  • Cake\View\Helper\BreadcrumbsHelper
  • Cake\View\Helper\FlashHelper
  • Cake\View\Helper\FormHelper
  • Cake\View\Helper\HtmlHelper
  • Cake\View\Helper\NumberHelper
  • Cake\View\Helper\PaginatorHelper
  • Cake\View\Helper\RssHelper
  • Cake\View\Helper\SessionHelper
  • Cake\View\Helper\TextHelper
  • Cake\View\Helper\TimeHelper
  • Cake\View\Helper\UrlHelper
  • Cake\View\HelperRegistry
  • Cake\View\JsonView
  • Cake\View\SerializedView
  • Cake\View\StringTemplate
  • Cake\View\View
  • Cake\View\ViewBlock
  • Cake\View\ViewBuilder
  • Cake\View\Widget\BasicWidget
  • Cake\View\Widget\ButtonWidget
  • Cake\View\Widget\CheckboxWidget
  • Cake\View\Widget\DateTimeWidget
  • Cake\View\Widget\FileWidget
  • Cake\View\Widget\LabelWidget
  • Cake\View\Widget\MultiCheckboxWidget
  • Cake\View\Widget\NestingLabelWidget
  • Cake\View\Widget\RadioWidget
  • Cake\View\Widget\SelectBoxWidget
  • Cake\View\Widget\TextareaWidget
  • Cake\View\Widget\WidgetLocator
  • Cake\View\XmlView

Interfaces

  • Cake\Auth\Storage\StorageInterface
  • Cake\Cache\CacheEngineInterface
  • Cake\Collection\CollectionInterface
  • Cake\Console\CommandCollectionAwareInterface
  • Cake\Console\CommandFactoryInterface
  • Cake\Core\Configure\ConfigEngineInterface
  • Cake\Core\ConsoleApplicationInterface
  • Cake\Core\HttpApplicationInterface
  • Cake\Core\PluginApplicationInterface
  • Cake\Core\PluginInterface
  • Cake\Core\Retry\RetryStrategyInterface
  • Cake\Database\DriverInterface
  • Cake\Database\Expression\FieldInterface
  • Cake\Database\ExpressionInterface
  • Cake\Database\Schema\SqlGeneratorInterface
  • Cake\Database\Schema\TableSchemaAwareInterface
  • Cake\Database\Schema\TableSchemaInterface
  • Cake\Database\StatementInterface
  • Cake\Database\Type\BatchCastingInterface
  • Cake\Database\Type\ExpressionTypeInterface
  • Cake\Database\Type\OptionalConvertInterface
  • Cake\Database\TypedResultInterface
  • Cake\Database\TypeInterface
  • Cake\Datasource\ConnectionInterface
  • Cake\Datasource\EntityInterface
  • Cake\Datasource\FixtureInterface
  • Cake\Datasource\InvalidPropertyInterface
  • Cake\Datasource\PaginatorInterface
  • Cake\Datasource\QueryInterface
  • Cake\Datasource\RepositoryInterface
  • Cake\Datasource\ResultSetInterface
  • Cake\Datasource\SchemaInterface
  • Cake\Datasource\TableSchemaInterface
  • Cake\Error\ExceptionRendererInterface
  • Cake\Event\EventDispatcherInterface
  • Cake\Event\EventInterface
  • Cake\Event\EventListenerInterface
  • Cake\Event\EventManagerInterface
  • Cake\Http\Client\AdapterInterface
  • Cake\Http\Cookie\CookieInterface
  • Cake\ORM\Locator\LocatorInterface
  • Cake\ORM\PropertyMarshalInterface
  • Cake\Validation\ValidatableInterface
  • Cake\Validation\ValidatorAwareInterface
  • Cake\View\Form\ContextInterface
  • Cake\View\Widget\WidgetInterface

Traits

  • Cake\Collection\CollectionTrait
  • Cake\Collection\ExtractTrait
  • Cake\Core\Configure\FileConfigTrait
  • Cake\Core\ConventionsTrait
  • Cake\Core\InstanceConfigTrait
  • Cake\Core\StaticConfigTrait
  • Cake\Database\Driver\PDODriverTrait
  • Cake\Database\Expression\FieldTrait
  • Cake\Database\SqlDialectTrait
  • Cake\Database\Type\ExpressionTypeCasterTrait
  • Cake\Database\TypeConverterTrait
  • Cake\Database\TypedResultTrait
  • Cake\Database\TypeMapTrait
  • Cake\Datasource\EntityTrait
  • Cake\Datasource\ModelAwareTrait
  • Cake\Datasource\QueryTrait
  • Cake\Datasource\RulesAwareTrait
  • Cake\Event\EventDispatcherTrait
  • Cake\Event\EventManagerTrait
  • Cake\I18n\DateFormatTrait
  • Cake\Log\LogTrait
  • Cake\Mailer\MailerAwareTrait
  • Cake\ORM\Association\DependentDeleteTrait
  • Cake\ORM\AssociationsNormalizerTrait
  • Cake\ORM\Behavior\Translate\TranslateTrait
  • Cake\ORM\Locator\LocatorAwareTrait
  • Cake\Routing\RequestActionTrait
  • Cake\TestSuite\ConsoleIntegrationTestTrait
  • Cake\TestSuite\EmailAssertTrait
  • Cake\TestSuite\EmailTrait
  • Cake\TestSuite\IntegrationTestTrait
  • Cake\TestSuite\StringCompareTrait
  • Cake\Utility\CookieCryptTrait
  • Cake\Utility\MergeVariablesTrait
  • Cake\Validation\ValidatorAwareTrait
  • Cake\View\CellTrait
  • Cake\View\Helper\IdGeneratorTrait
  • Cake\View\Helper\SecureFieldTokenTrait
  • Cake\View\StringTemplateTrait
  • Cake\View\ViewVarsTrait

Exceptions

  • Cake\Cache\InvalidArgumentException
  • Cake\Console\Exception\ConsoleException
  • Cake\Console\Exception\MissingHelperException
  • Cake\Console\Exception\MissingShellException
  • Cake\Console\Exception\MissingShellMethodException
  • Cake\Console\Exception\MissingTaskException
  • Cake\Console\Exception\StopException
  • Cake\Controller\Exception\AuthSecurityException
  • Cake\Controller\Exception\MissingActionException
  • Cake\Controller\Exception\MissingComponentException
  • Cake\Controller\Exception\SecurityException
  • Cake\Core\Exception\Exception
  • Cake\Core\Exception\MissingPluginException
  • Cake\Database\Exception
  • Cake\Database\Exception\MissingConnectionException
  • Cake\Database\Exception\MissingDriverException
  • Cake\Database\Exception\MissingExtensionException
  • Cake\Database\Exception\NestedTransactionRollbackException
  • Cake\Datasource\Exception\InvalidPrimaryKeyException
  • Cake\Datasource\Exception\MissingDatasourceConfigException
  • Cake\Datasource\Exception\MissingDatasourceException
  • Cake\Datasource\Exception\MissingModelException
  • Cake\Datasource\Exception\PageOutOfBoundsException
  • Cake\Datasource\Exception\RecordNotFoundException
  • Cake\Error\FatalErrorException
  • Cake\Error\PHP7ErrorException
  • Cake\Http\Exception\BadRequestException
  • Cake\Http\Exception\ConflictException
  • Cake\Http\Exception\ForbiddenException
  • Cake\Http\Exception\GoneException
  • Cake\Http\Exception\HttpException
  • Cake\Http\Exception\InternalErrorException
  • Cake\Http\Exception\InvalidCsrfTokenException
  • Cake\Http\Exception\MethodNotAllowedException
  • Cake\Http\Exception\NotAcceptableException
  • Cake\Http\Exception\NotFoundException
  • Cake\Http\Exception\NotImplementedException
  • Cake\Http\Exception\ServiceUnavailableException
  • Cake\Http\Exception\UnauthorizedException
  • Cake\Http\Exception\UnavailableForLegalReasonsException
  • Cake\Mailer\Exception\MissingActionException
  • Cake\Mailer\Exception\MissingMailerException
  • Cake\Network\Exception\SocketException
  • Cake\ORM\Exception\MissingBehaviorException
  • Cake\ORM\Exception\MissingEntityException
  • Cake\ORM\Exception\MissingTableClassException
  • Cake\ORM\Exception\PersistenceFailedException
  • Cake\ORM\Exception\RolledbackTransactionException
  • Cake\Routing\Exception\DuplicateNamedRouteException
  • Cake\Routing\Exception\MissingControllerException
  • Cake\Routing\Exception\MissingDispatcherFilterException
  • Cake\Routing\Exception\MissingRouteException
  • Cake\Routing\Exception\RedirectException
  • Cake\Utility\Exception\XmlException
  • Cake\View\Exception\MissingCellException
  • Cake\View\Exception\MissingCellViewException
  • Cake\View\Exception\MissingElementException
  • Cake\View\Exception\MissingHelperException
  • Cake\View\Exception\MissingLayoutException
  • Cake\View\Exception\MissingTemplateException
  • Cake\View\Exception\MissingViewException

Functions

  • __
  • __d
  • __dn
  • __dx
  • __dxn
  • __n
  • __x
  • __xn
  • breakpoint
  • collection
  • dd
  • debug
  • deprecationWarning
  • env
  • getTypeName
  • h
  • loadPHPUnitAliases
  • namespaceSplit
  • pj
  • pluginSplit
  • pr
  • stackTrace
  • triggerWarning

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() and getHeaders() instead.

  • Cake\Http\Response::location()

    3.4.0 Mutable responses are deprecated. Use withLocation() and getHeaderLine() instead.


  • Cake\Http\Response::body()

    3.4.0 Mutable response methods are deprecated. Use withBody()/withStringBody() and getBody() instead.

  • Cake\Http\Response::statusCode()

    3.4.0 Use getStatusCode() and withStatus() 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() or withAttribute('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::setTemplate()

    3.7.0 Use $email->viewBuilder()->setTemplate() instead.

  • Cake\Mailer\Email::getTemplate()

    3.7.0 Use $email->viewBuilder()->getTemplate() 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::_getTypes()

    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 notEmptyString(), notEmptyArray(), notEmptyFile(), notEmptyDate(), notEmptyTime() or notEmptyDateTime() 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::visibleProperties()

    3.8.0 Use getVisible() instead.

  • 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\ORM\ResultSet::$_types

    3.2.0 Not used anymore. Type casting is done at the statement level

  • 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.

Follow @CakePHP
#IRC
OpenHub
Rackspace
  • Business Solutions
  • Showcase
  • Documentation
  • Book
  • API
  • Videos
  • Logos & Trademarks
  • Community
  • Team
  • Issues (Github)
  • YouTube Channel
  • Get Involved
  • Bakery
  • Featured Resources
  • Newsletter
  • Certification
  • My CakePHP
  • CakeFest
  • Facebook
  • Twitter
  • Help & Support
  • Forum
  • Stack Overflow
  • IRC
  • Slack
  • Paid Support

Generated using CakePHP API Docs