Skip to content

Document Controller::$defaultTable property#8252

Merged
markstory merged 1 commit intocakephp:5.xfrom
dereuromark:docs-default-table-property
Mar 20, 2026
Merged

Document Controller::$defaultTable property#8252
markstory merged 1 commit intocakephp:5.xfrom
dereuromark:docs-default-table-property

Conversation

@dereuromark
Copy link
Member

Summary

  • Add documentation about the $defaultTable property in controllers
  • Explain how to customize it to use a different table
  • Document that setting it to an empty string is useful for controllers that don't use a table (which also avoids component alias clashes)

Refs cakephp/cakephp#19354

Add documentation about the $defaultTable property in controllers,
explaining how to customize it and that setting it to an empty string
is useful for controllers that don't use a table.

Refs cakephp/cakephp#19354
@dereuromark dereuromark marked this pull request as ready for review March 19, 2026 14:16
@markstory markstory added this to the 5.x milestone Mar 20, 2026
@markstory markstory merged commit fad5bfc into cakephp:5.x Mar 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants