Commit Graph

9 Commits

Author SHA1 Message Date
David Hunt
7a01df7ea9 Added the inherit_index feature for routing requests to directories without a valid index defined. 2015-07-21 14:34:21 -04:00
Stéphane Goetz
061ea5ea55 Code Style and refactorings 2015-07-20 20:51:49 +02:00
Stéphane Goetz
d531de86cf Cleaned getFirstPage a bit 2015-07-20 20:51:48 +02:00
Stéphane Goetz
a13469047a Move getIndexPage and getFirstPage to Directory 2015-07-20 20:51:41 +02:00
Stéphane Goetz
e87c86d9aa Added documentation 2015-07-20 20:51:41 +02:00
Stéphane Goetz
aa5602a0fb Refactor the tree system
Each element of the tree now only has one parent, not a parent array.

- Creating an elements doesn't necessarily rely on an existing file
- Moving elements unregisters elements from the previous parent
- Moved some helpers to the builder instead of Entry
2015-07-20 20:51:32 +02:00
Stéphane Goetz
3235c49acd Refactor to not use ->value in the tree 2015-07-20 20:51:32 +02:00
Stéphane Goetz
de1214cbab Convert to PSR2 2015-07-20 20:49:09 +02:00
Stéphane Goetz
ecd5efe758 Extract tree builder
Add related files directly in the documentation
2015-07-20 20:49:09 +02:00