I\'ve just came across this on GitHub. ($config === NULL) and $config = Kohana::config(\'email\'); Is that开发者_Go百科 the equivalent of
I find examples and tutorials开发者_StackOverflow中文版 about models and about validation. And I places that say the validation (or most of it at least) should be in the model, which I agree with. But
Say I have a file in my kohana 3 website called assets/somefile.jpg. I can get the url to that file by doing
I\'m probably overlooking something really obvious here. Comments are in to help explain any library specific code.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
When I hav开发者_运维问答e a controller, e.g. article I often have a action_view() that handles most of the code.
I need to add some errors to the Validation helper in Kohana 3. Here is what I start with: // validate form
I need to quote a string a string in PHP using Kohana 3\'s Database library. In 2.3, all I had to do is $this->db->escape().
I have been through a fair bit of the code in modules/datab开发者_运维技巧ase/classes/ but still have not found how to return the last insert Id.
I\'ve looked at how shadowhand (the main guy behind Kohana currently) set up his bootstrap.php file to handle exceptions on GitHub.