Bharat Mediratta
d45a737779
Update copyright to 2013. Fixes #1953 .
2013-01-21 01:22:01 -05:00
Bharat Mediratta
bf2bb3e1ea
Update copyright to 2012. #1822
2012-02-27 09:48:23 -08:00
Bharat Mediratta
423daa52d5
Update copyright to 2011.
2011-01-21 23:01:06 -08:00
Joe7
cfaa62370e
Reimplemented Kohana 2.3's View::set_global() with array support.
...
Allows for cleaner code and fewer function calls.
2011-01-03 11:38:13 -08:00
Bharat Mediratta
ebbb73787d
Trap ORM_Validation_Exception specially and report which fields failed validation.
2010-07-29 19:37:38 -07:00
Bharat Mediratta
c3c2b45280
Update the copyright to 2010. It's only 3 months into the year :-)
2010-03-03 10:15:34 -08:00
Bharat Mediratta
c050acf30a
Fix lots of warnings that pop up when we're in E_STRICT mode. They're
...
mostly issues around uninitialized variables, calling non-static
functions in a static context, calling Session functions directly
instead of on its singleton, passing non-variables by reference, and
subclasses not using the same interface as the parent class.
2010-01-31 16:07:41 -08:00
Bharat Mediratta
ccb0ea3d30
Make globals work if you access the the variables directly with
...
$v->foo instead of doing it in a rendered template.
2009-11-25 19:24:50 -08:00
Bharat Mediratta
7eacc465d5
Fix set_global() to be more elegant and preserve local trumping
2009-11-25 14:50:29 -08:00
Bharat Mediratta
daedadda75
Switch from stdClass to arrays for global data.
2009-11-25 14:27:06 -08:00
Bharat Mediratta
2e420522ec
Preliminary work to cut over to Kohana 2.4
...
- Kohana::log() -> Kohana_Log::add()
- Kohana::config_XXX -> Kohana_Config::instance()->XXX
- Implement View::set_global in MY_View
- Updated Cache_Database_Driver to latest APIs
- ORM::$loaded -> ORM::loaded()
- Updated item::viewable() to use K2.4 parenthesization
2009-11-25 13:22:24 -08:00
Bharat Mediratta
15f148349e
Make body_attributes() a theme callback instead of a method on the
...
View. This allows modules to piggyback on it.
2009-07-29 17:25:53 -07:00
Bharat Mediratta
3aea4dd118
Dump out the error message along with the stack trace when we catch an
...
exception from View::render()
2009-07-20 18:47:32 -07:00
Bharat Mediratta
df22832a5b
Rename "locale" helper to "locales" to avoid conflicting with PHP 5.3.
...
Fixes ticket #194
2009-07-17 18:35:06 -07:00
Bharat Mediratta
f7a720d2e8
Rename main_element_attributes() callback to body_attributes() to be
...
more intuitive for themers.
2009-06-08 23:17:28 -07:00
Andy Staudacher
0e415dae9b
Preliminary BiDi support (needs *a lot* of tweaking)
2009-06-06 15:24:14 -07:00
Bharat Mediratta
28b41056e3
Restructure things so that the application is now just another module.
...
Kohana makes this type of transition fairly straightforward in that
all controllers/helpers/etc are still located in the cascading
filesystem without any extra effort, except that I've temporarily
added a hack to force modules/gallery into the module path.
Rename what's left of "core" to be "application" so that it conforms
more closely to the Kohana standard (basically, just
application/config/config.php which is the minimal thing that you need
in the application directory)
There's still considerable work left to be done here.
2009-05-27 15:07:27 -07:00