(continuing)

Also: there is quite new method 
http://docs.cakephp.nu/classes/show/Model#isUnique
;)

So: imaginary method UniqueUrlBehavior::beforeSave() can either
invalidate 'url' field or customize generated url to be unique - and
with usage of behavior it is 'few minute/codeline work' ;)

Jitka aka poLK


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to