Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Orm
Sortable behavior
psren
November 2012
Is there a possibility to implement something like a sortable behavior for Orm?
I cant do it by class extending like "nestedsets" does because i'd like to assign multiple behaviours to one model
ilNotturno
November 2012
So every time you perform a query, your results will be sorted by this behaviour?
is this what you mean?
psren
November 2012
mhh no. sorry for my bad english.
I'd like to make a model use a trait. this trait performs sorting actions on the model.
the model is required to have some special fields for that (sorting).
Ho do i make the "the model needs that field". like an interfact (but on properties).
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,088
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
260
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
ilNotturno
November 2012
psren
November 2012