I think that framework shouldn\' be a cage for developer, and because Kohana gives a lot of freedom I am just wondering how do other guys handle two action-related things:
I\'m running a update_user form through $user = ORM::factory(\'user\', $id)->update_user($this->request->post(), array(
I have an object in a controller\'s method: $post = ORM::factory(\'post\', array(\'slug\' => $slug);
I am trying to make use of Kohana helper \"Cookie\" class.开发者_开发知识库 Doesn\'t seem to work, gives 500 error on calling.
I wanted some suggestions from someone with experience in php. I am making a website in php which will have 4 kinds of users :
I\'m reading unofficial Kohana 3.0 docs at the moment. Where this code belongs? In controller or in model (class Model_MyName extends ORM model?)? I think that it should go in model. Am I right? If th
I\'m using Kohana 3.0 and I need to get array from Session object. For example: $session = Session::instance();
I could just dive into the Kohana_Cookie class and set public static $salt = \'blah\'; But this doesn\'t seem like a very elegant solution... is there a propper way开发者_如何学运维 to set it in a
select * from u_question uq,users u where uq.asked_by=u.id andasked_by in (select u.id from fb_relations
What is the best way to retrieve results from one field using DB or ORM? For example, I need an array of user\'s friends ids to pass them to other function. I\'m currently doing it like this开发者_St