I have following models.
* Reservation
* Property
* PropertyTax
Each reservation 'hasOne' Property.
Each property 'hasMany' propertytaxes.
I get list of taxes this way.
In reservation class, $this->Property->PropertyTaxes;
Till now everything is fine and works properly.
I want to filter collection '$this->Property->PropertyTaxes' based on some
criteria.
Criteria like tax is active or not, tax has period during which applied, so
whether tax period is effective or not, etc.
How can I do it at model level?
Thanks in advance for your help.
Himanshu
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en