Skip to content
Kirby CMS
Kirby
5.6.4
Archived Docs
Guide
Reference
Cookbook
Quicktips
Screencasts
Glossary
Latest Version ↗
Reference
Changes
Close
Formatting text
KirbyText
Markdown
Templates
Field methods
Helpers
Panel
Blueprints
Fields
Sections
Blocks
Icons
Styling
Samples
Objects
$kirby
$site
$page
$pages
$file
$files
$user
$users
$block
$blocks
$layout
$layouts
$language
$languages
$pagination
$request
$session
All classes
Aliases
Router
Patterns
Response types
System
Config options
Urls
Roots
Requirements
Validators
Plugins
Extensions
Hooks
Core components
Panel UI
API
Authentication
Languages
Pages
Roles
Site
System
Translations
Users
Tools
A
Cookie
Data
Dir
Escape
F
Header
Html
I18n
Mime
QrCode
Query
Str
Tpl
Url
V
Xml
new Changes()
$changes->cache()
Access helper for the cache, in which changes are stored
$changes->cacheExists()
Returns whether the cache has been populated
$changes->cacheKey()
Returns the cache key for a given model
$changes->ensure()
Verify that the tracked model still really has changes. If not, untrack and remove from collection.
$changes->files()
Return all files with unsaved changes
$changes->generateCache()
Rebuilds the cache by finding all models with changes version
$changes->pages()
Return all pages with unsaved changes
$changes->read()
Read the changes for a given model type
$changes->track()
Add a new model to the list of unsaved changes
$changes->untrack()
Remove a model from the list of unsaved changes
$changes->update()
Update the changes field
$changes->users()
Return all users with unsaved changes
new Changes()
kirby/src/Content/Changes.php#L27
new Changes()
Parent class
Kirby\Content\Changes