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