Log message #109287

# At Username Text
# Aug 7th 2008, 09:43 Eddie_CRO D
# Aug 7th 2008, 09:43 TommyO stevieboy: function action($id = null) {
# Aug 7th 2008, 09:43 TommyO stevieboy: wow, you're here just in time for the same discussion with Eddie_CRO :)
# Aug 7th 2008, 09:43 Eddie_CRO ...
# Aug 7th 2008, 09:42 Eddie_CRO ok...
# Aug 7th 2008, 09:42 TommyO if you find yourslef doing: function search($word = null, $count = null) etc, you risk having params out of order or missing
# Aug 7th 2008, 09:42 Eddie_CRO psychic: that was for me?
# Aug 7th 2008, 09:42 stevieboy hello, is there a better way to retrieve the id than use $this->params['pass'][0] ?
# Aug 7th 2008, 09:41 _psychic_ /search/query:stufff/otherstuff:foo
# Aug 7th 2008, 09:41 Eddie_CRO how then?
# Aug 7th 2008, 09:41 Eddie_CRO )
# Aug 7th 2008, 09:41 Eddie_CRO or no right?
# Aug 7th 2008, 09:41 TommyO nope
# Aug 7th 2008, 09:41 Eddie_CRO if so you have to use forms, right?
# Aug 7th 2008, 09:41 Eddie_CRO what do you mean?
# Aug 7th 2008, 09:41 TommyO Cake has cleaner ways, like named params, etc
# Aug 7th 2008, 09:41 moelee brb
# Aug 7th 2008, 09:41 moelee cheers, mate
# Aug 7th 2008, 09:41 Eddie_CRO ;-)
# Aug 7th 2008, 09:41 Eddie_CRO yup, works like a charm
# Aug 7th 2008, 09:41 TommyO it's too rigid
# Aug 7th 2008, 09:40 TommyO well, more than 1 I guess I mean
# Aug 7th 2008, 09:40 moelee why is that TommyO?
# Aug 7th 2008, 09:40 moelee np
# Aug 7th 2008, 09:40 moelee haha
# Aug 7th 2008, 09:40 Eddie_CRO thanks dude
# Aug 7th 2008, 09:40 TommyO ACTION thinks using params, other than maybe $id, is clumsy ;)
# Aug 7th 2008, 09:40 Eddie_CRO moron
# Aug 7th 2008, 09:40 Eddie_CRO right
# Aug 7th 2008, 09:40 moelee and you can just do an if to check it and do some other action
# Aug 7th 2008, 09:39 Eddie_CRO default
# Aug 7th 2008, 09:39 Eddie_CRO aaaaaa
# Aug 7th 2008, 09:39 moelee and that will be default if nothing is passed through url
# Aug 7th 2008, 09:39 TommyO function search($param = null)
# Aug 7th 2008, 09:39 moelee just set the parameter = null
# Aug 7th 2008, 09:39 Eddie_CRO )
# Aug 7th 2008, 09:39 Eddie_CRO so, where were we
# Aug 7th 2008, 09:39 Eddie_CRO )
# Aug 7th 2008, 09:39 Eddie_CRO that's no go.
# Aug 7th 2008, 09:39 Eddie_CRO changed link
# Aug 7th 2008, 09:39 Eddie_CRO ah, i know