kohana
Kohana routing with https/ssl
I am working on a facebook application and have just set up the SSL certificate but this has caused the routing to stop working.[详细]
2023-04-11 04:28 分类:问答Kohana and Simple HTML Dom parser are having issues
Trying to use the Simple HTM开发者_Python百科L Dom Parser in my application. Placed the sample function of scraping_slashdot() into a controller.[详细]
2023-04-11 00:05 分类:问答Kohana 3.2 Validation in Birthdate
what i wanted to do is to validate if the age is not under 18 or over 33 public function validate($arr) {[详细]
2023-04-10 21:56 分类:问答How can I build a 'has-many-through' relation linking more than 2 models?
I have 3 models eg; TABLE `users` `id` INT `username` VARCHAR(32) ... TABLE `books` `id` INT `title` VARCHAR(100)[详细]
2023-04-10 16:51 分类:问答How to change received data in Model?
I have a typical function in model which is receiving \'time\' from table \'Orders\': public function get_time() {[详细]
2023-04-10 11:45 分类:问答Kohana (ORM) - how to find record from 2 tables
class Model_Category extends ORM { protected $_has_many = array( \'film\' => array(\'through\' => \'films_categories\')[详细]
2023-04-10 09:10 分类:问答Kohana config database - enabling
I can\'t make to Config_Database work. I\'m enabling new Config Source that way: Kohana::$config->attach(new Config_Database, FALSE);[详细]
2023-04-10 00:16 分类:问答Kohana database select, list of fields
In Kohana if I want to select fields \'id\', and \'username\' I do it this way: $record = DB::select(\'id\', \'username\')[详细]
2023-04-09 13:41 分类:问答Cron Kohana action and prevent CSRF
I need to call a Kohana action through cron. I can use this code to limit only to the server IP: $allowedIps = array(\'127.0.0.1\',\'::1\');[详细]
2023-04-09 08:33 分类:问答Kohana validation without message files
Is there a way to use Kohana\'s (3+) validation class without using message files? [EDIT] Here is an example:[详细]
2023-04-08 19:02 分类:问答