kohana3 tips: get orm validate errors
Monday, October 26th, 2009echo kohana::debug($orm_object->validate()->errors());
echo kohana::debug($orm_object->validate()->errors());
echo View::factory('profiler/stats');
完全版本(带GET参数):
$current_uri = URL::site($this->request->uri).'?'.http_build_query($_GET, '&');
干净版本:
$current_uri = URL::site($this->request->uri);