Page 163 of 211,241, showing 20 records out of 4,224,801 total, starting on record 3,241, ending on 3,260
# | Username | Text | |
---|---|---|---|
# | Aug 7th 2008, 12:22 | tbranyen | Just checked the function stripScripts and it asks for a string and returns a string |
# | Aug 7th 2008, 12:22 | tbranyen | unless.. |
# | Aug 7th 2008, 12:22 | tbranyen | read() returns an array |
# | Aug 7th 2008, 12:22 | tbranyen | oh god |
# | Aug 7th 2008, 12:22 | tbranyen | i'm so dumb |
# | Aug 7th 2008, 12:23 | TommyO | tbranyen: FYI all methods in a controller(except the core methods) that do not begin with _ are considered 'actions' and are accesible via the url. so index() is not a construct, but an action, like /somecontroller/index. it is also the default action if someone goes to /somecontroller (no action specified) |
# | Aug 7th 2008, 12:23 | thestaff | jaredhoyt, setlayout() maybe no ? |
# | Aug 7th 2008, 12:23 | tbranyen | yeah TommyO I remember reading that |
# | Aug 7th 2008, 12:23 | thestaff | and that would skip the default one ? |
# | Aug 7th 2008, 12:23 | jaredhoyt | thestaff: just use $this->layout = 'layout_name'; |
# | Aug 7th 2008, 12:23 | tbranyen | tbh i've never used a framework before, i always thought it would limit my potential |
# | Aug 7th 2008, 12:23 | thestaff | i'm in 1.1 tho |
# | Aug 7th 2008, 12:24 | charun | tbranyen: A framework does the opposite - it enables you to code much better :) |
# | Aug 7th 2008, 12:24 | thestaff | jaredhoyt, is it the same then ? |
# | Aug 7th 2008, 12:24 | jaredhoyt | dunno, haven't used 1.1 in a long time, just try it =P |
# | Aug 7th 2008, 12:24 | TommyO | tbranyen: no need for constructs because there are tons of handly callbacks. ex: in the controller, beforeFilter() happens before the action is called and is vital for setting stuff up |
# | Aug 7th 2008, 12:25 | stevieboy | another question: how can I call a specific external php from cake without the routing interfering |
# | Aug 7th 2008, 12:25 | thestaff | jaredhoyt, wokrs ! thanks |
# | Aug 7th 2008, 12:26 | jaredhoyt | np |
# | Aug 7th 2008, 12:28 | TommyO | stevieboy: call? as in redirect? |