kohana
Kohana 3.1 orm. How to make this has_one relashionship?
I have 2 models: Address and Country. Now, every address has exactly one country. So Address model has:[详细]
2023-03-18 23:59 分类:问答Kohana + Safari + Resource tracking causes my session keys to reset
I have a number of sites using Kohana\'s session handler set to use database sessions. Everything works fine until I turn on Resource Tracking in Safari\'s Web Inspector. After enabling resource track[详细]
2023-03-18 18:10 分类:问答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 分类:问答How to Debug Uploadify?
I don\'t know how to debug Uploadify. All seems to be working, but there are no actual file uploaded. From browser... Upladify event prints \"Done!\". Before I used Uploadify, PHP code worked... so I[详细]
2023-03-18 00:40 分类:问答Kohana Database column aliasing, just one or two leaving the rest
Is there a way to alias a column or two and leave the rest intact using Database module. # TAKING THIS EXAMPLE[详细]
2023-03-16 19:32 分类:问答Share session between 2 websites: a legacy PHP and a Kohana 3.1 site
I have 2 php websites in the same machine. The first site (a legacy system) has a basic auth: checks if is set $_SESSION[\'user_id\']. I\'m working in the second site (a Kohana 3.1 based) that will ex[详细]
2023-03-16 11:42 分类:问答kohana 3.1 orm validation on updating user details
I\'m running a update_user form through $user = ORM::factory(\'user\', $id)->update_user($this->request->post(), array([详细]
2023-03-16 10:20 分类:问答Kohana/ORM - Assign relations to views
I have an object in a controller\'s method: $post = ORM::factory(\'post\', array(\'slug\' => $slug);[详细]
2023-03-16 08:57 分类:问答Setting cookie using Kohana 3.1 helper class results in server error : 500
I am trying to make use of Kohana helper \"Cookie\" class.开发者_开发知识库 Doesn\'t seem to work, gives 500 error on calling.[详细]
2023-03-16 05:32 分类:问答Kohana Formo Error: Invalid method formo called in Model_User
Trying to use the Formo module with ORM and Kohana 3.1, but keep getting this error... Invalid method formo called in Model_User[详细]
2023-03-16 05:04 分类:问答