-
Notifications
You must be signed in to change notification settings - Fork 7
file patterns
Alexander Söderberg edited this page Nov 10, 2017
·
2 revisions
Kvantum uses file patterns to find the files requested by the standard views. These patterns use the variables from view patterns.
The file patterns can access variables from the view pattern. This is done as such: ${key}
.
This is an example for a view using `filter: '[file].html'.
views:
std:
filter: '[file].html'
options:
filePattern: ${file}.html
folder: ./public
This will search for .html
files in $SERVER_ROOT/public
IntellectualServer
Files can be found in .kvantum/config
- Getting Started
- View Patterns
- File Patterns
- server.yml
views.yml- socketFilters.yml
- translations.yml
- SSL
- Getting Started
- Modules
- Hello World
- Plugins
- Events
- Account System
- Authorization
- Application System
- Sessions
- Create a view - OOP based
- Create a view - @Annotation based
- Middleware
- Extending Crush (Templating syntax)
- ViewReturn