Commit Graph

16 Commits

Author SHA1 Message Date
QWp6t
0d83ed4b8b Refactor Blade implementation. Use Container 2016-12-06 03:42:41 -08:00
QWp6t
f23477386d Use array_map() for blade hierarchy loop 2016-12-04 11:21:45 -08:00
QWp6t
c20f53dee4 Resolve style issues 2016-12-04 08:35:13 -08:00
kalenjohnson
0918597d4a First pass at Blade templating 2016-12-03 10:27:22 -08:00
Ben Word
56c3bb8367 Remove sidebar defaults 2016-11-27 15:04:02 -07:00
Kalen Johnson
2124163de0 Namespaces on own line (#1712)
`namespace` declarations appear on their own line in PHP FIG examples as well as in common PHP frameworks. While not officially part of PSR-2, we should still follow this common practice of not putting `namespace` declaration on the same line as `<?php`.

- http://www.php-fig.org/psr/psr-2/
- https://github.com/laravel/laravel/blob/master/app/User.php#L1-L3
- https://github.com/symfony/filesystem/blob/master/Filesystem.php#L1-L12
- https://github.com/zendframework/zend-mail/blob/master/src/Address.php#L1-L10
2016-09-09 04:24:09 -07:00
QWp6t
eb3a7add85 Rework template wrapper, bring back template_part() 2016-07-15 05:31:02 -07:00
QWp6t
96c5969925 Fix Obj->__toString() conditional logic in wrapper 2016-07-14 23:16:45 -07:00
QWp6t
8ee444d7b7 Allow Obj->__toString() in template heirarchy filter 2016-07-14 15:16:00 -07:00
QWp6t
4435d52d01 Wrap templates located outside the theme
Wrapper will now pass through $template if locate_template() turns up zero
results.
2016-07-14 15:00:07 -07:00
Patrick Vézina
55b9feab25 is_page_template() requires the name of the subfolder 2016-03-15 08:16:59 -04:00
QWp6t
246955c59a Use phpcs.xml for all rules 2016-03-11 18:06:27 -05:00
QWp6t
6a4d3bd51a Conform to new rules 2016-03-11 18:03:15 -05:00
QWp6t
1df3fee010 Remove Template class 2016-03-11 18:03:15 -05:00
Ben Word
67c190fc41 Cleanup 2016-03-11 18:03:14 -05:00
QWp6t
f752470b33 Rename app to src 2016-03-11 18:00:06 -05:00