kohana-3
Passing a value from a model to a view in Kohana 3
I have a model that fetches from my database a list that I want to be able to show in my view. The model looks like this:[详细]
2023-03-21 22:28 分类:问答Kohana ORM and file upload issue... setting record logo to equal record logo when there is no image
This 开发者_Go百科causes this error... Operand should contain 1 column(s) [ UPDATE record SET logo = (\'\',[详细]
2023-03-21 14:04 分类:问答not getting user id from from Auth::instance->get_user()-id in Kohana
I am using auth module of kohana. I did register and login and its working fine. But when i do Auth::instance()->get_user()->id i get NULL[详细]
2023-03-20 20:06 分类:问答Session ID changes in Kohana 3.x
I am developing a Facebook app in Kohana 3.x. Now client requirement is to make Sessions GET based. but it is having a problem. I am using[详细]
2023-03-20 16:23 分类:问答one-to-many relation in Kohana
I have 3 tables users , roles and roles_users. The roles_users table have user_id and role_id N开发者_JS百科ow my models are Model_User, Model_Role, Model_User_Role.[详细]
2023-03-20 06:57 分类:问答I am having problem's with adding a filter in Kohana 3.1
I am having some problems adding a callback filter in Kohana 3.1. Here is my validator: Validation::fa开发者_如何学Pythonctory($fields)[详细]
2023-03-19 01:05 分类:问答Is it possible to re-use a Kohana ORM query for the row count?
So I have my query as so... $records = ORM::factory(\'category\'); Add a WHERE clause as so... $records = $records->where(\'categoryid\', \'LIKE\', \'aa\');[详细]
2023-03-18 14:40 分类:问答View Helper in Kohana
I am trying to figure out a way to do the following: I want to make an action which will be loaded through ajax and also its the internal part of the page when page is reloaded.[详细]
2023-03-18 09:38 分类:问答Kohana 3.0.8 problem with classes/kohana/core.php when copying kohana index.php to subdir
I\'m trying to do a dirty hack in order to set some php.ini variables for a specific part of my website.[详细]
2023-03-18 00:39 分类:问答Problem with Kohana detect_uri() when mod_rewrite enabled
I am having problem in detecting current uri when the requested controller is index. (my index_file file name is index.php). It seems the problem is in detect_uri() function since it checks PATH_INFO[详细]
2023-03-17 14:39 分类:问答