I have the following, for example: class Model_User extends ORM { protected $_rules = array( \'username\' => array(
class Model_User extends ORM { // columns: UserID, Name // public $Name ; // this didn\'t work } Currently I create an object:
I\'m learning the framework, and now building an application using it. I need to get all users that have \'user\' or \'staff\' role, but I couldn\'t find about it on the documentation.
I have tables: users {id, name} projects {id, name} roles {id, name} projects_users {id, user_id, project_id, role_id}
I\'m using Postgres with Kohana 3\'s ORM module and would like to run a SELECT using a postgres function to convert values already in the database to lower case before doing the comparison.
I\'m trying to write a very simple cms (for learning purposes) in kohana 3 web framework. I have my db schemas and i want to map it to ORM but i have problems with relations.
I was using KohanaPHP ORM but I can\'t use it with my database table structure. So, I need a framework or library ORM to use with it.
I am using Kohana V 3.0.3. I was looking for ACL library and found from http://dev.kohanap开发者_如何学JAVAhp.com/projects A2 Kohana\'s ACL module.
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