Commit Graph

96 Commits

Author SHA1 Message Date
Taylor Otwell d2fefa65aa Work on section handling. 2012-11-06 15:04:13 -06:00
Taylor Otwell b043482905 Improve view errors. 2012-09-26 16:20:56 -04:00
Taylor Otwell 633c2bde83 Pass the path to the filter event. 2012-09-26 11:20:03 -04:00
Taylor Otwell a976c555e6 Added "view.filter" event so we can hook in final filters. 2012-09-26 10:43:34 -04:00
Sergii Grebeniuk 690e8572aa phpdoc fixes 2012-08-03 18:17:48 +03:00
Chris Berthe b325e954e3 Merge remote-tracking branch 'upstream/develop' into develop 2012-07-12 11:15:43 -04:00
Franz Liedke 5e2373817d Allow for passing variables to views with more expressive method calls.
Example: with_foo($bar) instead of with('foo', $bar)

Signed-off-by: Franz Liedke <franz@develophp.org>
2012-06-25 21:31:54 +03:00
Chris Berthe f3d756476b Merge remote-tracking branch 'upstream/develop' into develop 2012-06-25 13:11:54 -04:00
Jason Lewis a5cc8616fc Fix bug where error is shown when named view isn't set.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-06-16 10:29:45 +09:30
Jason Lewis 5d6258a7b4 Can now check for existance of named views.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-06-15 10:29:09 +09:30
Chris Berthe fafaf724b0 Grammar/Vocabulary fixes
Signed-off-by: Chris Berthe <chrisberthe@gmail.com>
2012-06-13 11:19:20 -04:00
Phill Sparks 0baf5ad9b1 Fix View's use of Events so you can actually implement your own things
Signed-off-by: Phill Sparks <me@phills.me.uk>
2012-05-04 14:55:05 +01:00
Taylor Otwell a150a7d457 allow multiple views to be registered for a single composer. 2012-04-19 08:37:42 -05:00
Taylor Otwell ae2dc6a7e2 cleaning up view code. 2012-04-17 20:13:42 -05:00
David Thorpe ee5386e3b2 Implemented View::exists function
magical

Signed-off-by: David Thorpe <davzie@davzie.com>
2012-04-17 19:25:41 +01:00
Taylor Otwell 6dd8063646 adding doc routes. 2012-04-02 11:02:09 -05:00
Taylor Otwell d41b1db722 fixing bug in view class. 2012-04-01 21:13:07 -05:00
Taylor Otwell cfce823095 improved view file loading performance. 2012-04-01 21:11:45 -05:00
Taylor Otwell 973da34bc0 Pass directory into View:: file method. 2012-03-26 08:27:53 -05:00
Taylor Otwell 991fc70275 Make view::with value optional. 2012-03-24 22:39:23 -05:00
Taylor Otwell 93e21e9255 Added support for true tempting.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-23 17:03:27 -05:00
Taylor Otwell 8e8b0b8cb3 More Blade improvements… adds template inheritance.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-23 13:01:36 -05:00
Taylor Otwell 0e4a63606f Added render_each helper. 2012-03-22 16:05:33 -05:00
Taylor Otwell 727b064bf7 Added View::render_each and Blade shortcut. 2012-03-22 15:45:26 -05:00
Taylor Otwell 090bf9b3f8 Added "shares" method to view instance. 2012-03-22 13:38:22 -05:00
Taylor Otwell 35e53b8cef Reintegrating Blade with Laravel using View engine event. 2012-03-22 11:48:07 -05:00
Taylor Otwell 2331ae18cf Added lang and view loader events.
Added lang and view loader events similar to the configuration loader.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-01 11:52:05 -06:00
Taylor Otwell 9954482194 added search and extension functions to view class for registering them.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-27 16:27:28 -06:00
Taylor Otwell 64b61abcd5 added paths and extensions options to view class.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-27 15:29:11 -06:00
Taylor Otwell 2a02b9f6ac cleaning up view code.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-25 22:30:35 -06:00
Taylor Otwell 49d3c5251b removed blade from core and extracted it into bundle. added view engine event to hook in any view engine to the core. 2012-02-23 22:34:42 -06:00
Taylor Otwell 441a9e206f working on view engine event. 2012-02-23 17:00:36 -06:00
Taylor Otwell 2b4ab94e6b trimming up comment bloat. 2012-02-23 16:29:30 -06:00
Taylor Otwell ca40180b54 cleaning up code. 2012-02-21 10:51:31 -06:00
Taylor Otwell 353c7c527f cleaning up code. 2012-02-21 10:50:25 -06:00
Taylor Otwell 1098d50aff cleaning. 2012-02-20 09:07:56 -06:00
Taylor Otwell dd6402c648 prefix built-in events with laravel. 2012-02-16 16:26:39 -06:00
Taylor Otwell 0f2d311739 cleaning up some code. 2012-02-12 16:34:11 -06:00
Taylor Otwell 3a92facc76 updated routing to fix several issues. 2012-02-12 14:48:36 -06:00
Phill Sparks 62072e5281 PHPDoc fixes 2012-02-04 21:30:52 +00:00
Taylor Otwell 97fcea1e51 cleaned up paths. 2012-01-28 14:55:08 -06:00
Taylor Otwell f44c565ee4 converted path constants to $GLOBALS. 2012-01-27 16:17:43 -06:00
Taylor Otwell 974ff302ef adding some view tests and fixing a few bugs. 2012-01-25 08:37:04 -06:00
Kelly Banman a3cbe24b6e Fix inconsistent data referencing in View 2012-01-22 17:34:08 -08:00
Taylor Otwell 86bbb5f187 added get and set magic methods. 2012-01-17 13:32:04 -06:00
Taylor Otwell b5442c67fc merged skunkworks into develop. 2012-01-16 13:59:24 -06:00
Taylor Otwell 5b7a462131 Composers should not be loaded every time a new view is created. 2011-11-30 10:54:51 -06:00
Taylor Otwell 16a21422fb remove some comment bloat. 2011-11-22 23:35:14 -06:00
Taylor Otwell 4283e7ec98 moved error pages to application directory. 2011-11-20 23:01:05 -06:00
Taylor Otwell 060e1f64b8 Added BadMethodCallException to view's __callStatic method. 2011-11-16 13:12:33 -06:00