Page 108 of 211,279, showing 20 records out of 4,225,570 total, starting on record 2,141, ending on 2,160
# | Username | Text | |
---|---|---|---|
# | Aug 7th 2008, 04:13 | thestaff | might be this->element doens't like the htmland forms helpers |
# | Aug 7th 2008, 04:13 | achew22 | thanks stevieboy I owe you |
# | Aug 7th 2008, 04:14 | stevieboy | achew22: erm, for what exactly? |
# | Aug 7th 2008, 04:14 | stevieboy | oh, ok :) |
# | Aug 7th 2008, 04:14 | thestaff | no worries |
# | Aug 7th 2008, 04:15 | thestaff | stevieboy, I wanna try by hand if the form would show up |
# | Aug 7th 2008, 04:15 | TonkaTruck | achew22: yeah that is fantastic. So is $this->redirect() reverse routable too? |
# | Aug 7th 2008, 04:15 | achew22 | TonkaTruck: yep |
# | Aug 7th 2008, 04:15 | TonkaTruck | achew22: this is really great. |
# | Aug 7th 2008, 04:15 | Martz | TonkaTruck: i second achew22s recommendation. Reverse routing is amazing ;) |
# | Aug 7th 2008, 04:16 | achew22 | in my models I take it even one step further -- Model::link($id) which does the whole kit and kaboodle |
# | Aug 7th 2008, 04:16 | achew22 | I have the model::url too but I use link much more often |
# | Aug 7th 2008, 04:17 | Martz | i've been lurking in the ##php channel |
# | Aug 7th 2008, 04:17 | Martz | so painful to see people still blundering along without a framework |
# | Aug 7th 2008, 04:18 | stevieboy | forgive me but i still cant figure out the "reverse" in the reverse routing |
# | Aug 7th 2008, 04:18 | achew22 | TonkaTruck: remember, you're in this for money. You can sell something with stubs so long as you replace the "[TODO]" with "Feature coming soon" when you package it and sell it |
# | Aug 7th 2008, 04:18 | stevieboy | is it just the "url-string" to "array (controller,action,id)" ? |
# | Aug 7th 2008, 04:18 | poluta1 | Martz: can i assign $captcha to AppModel class model ? |
# | Aug 7th 2008, 04:18 | Martz | stevieboy: you can make a link like this $html->link('My link', array('controller' => 'user', 'action' => 'view', $id)); and then in the future if you want to change the URLs for /users/ to /members/ all you need to do is edit your routes file, and all your links still work |
# | Aug 7th 2008, 04:19 | Martz | stevieboy: instead of editing 100's of links to /users/view/$id |