Page 162 of 211,241, showing 20 records out of 4,224,801 total, starting on record 3,221, ending on 3,240
# | Username | Text | |
---|---|---|---|
# | Aug 7th 2008, 12:17 | c0m- | i don't see an error though |
# | Aug 7th 2008, 12:17 | TommyO | Sanitize is a static class |
# | Aug 7th 2008, 12:17 | c0m- | no errors |
# | Aug 7th 2008, 12:17 | tbranyen | TommyO oh this page told me to instantiate http://book.cakephp.org/view/153/data-sanitization |
# | Aug 7th 2008, 12:17 | jaredhoyt | tbranyen: http://pastebin.ca/1094903 |
# | Aug 7th 2008, 12:18 | TommyO | hmmm... |
# | Aug 7th 2008, 12:19 | TommyO | tbranyen: yeah. that's wrong. all the methods are static |
# | Aug 7th 2008, 12:20 | tbranyen | ah okay so its kosher to just use the Class::member syntax |
# | Aug 7th 2008, 12:20 | thestaff | hi all |
# | Aug 7th 2008, 12:20 | thestaff | how do you get view not to have the default layout ? |
# | Aug 7th 2008, 12:20 | TommyO | tbranyen: for that class yes |
# | Aug 7th 2008, 12:21 | tbranyen | sweet thanks TommyO |
# | Aug 7th 2008, 12:21 | anthony | thestaff: for the whole controller you can set the Controller's layout variable |
# | Aug 7th 2008, 12:21 | thestaff | no just for on view |
# | Aug 7th 2008, 12:21 | thestaff | one view |
# | Aug 7th 2008, 12:21 | jaredhoyt | thestaff: $this->layout in the view |
# | Aug 7th 2008, 12:22 | tbranyen | TommyO: Odd that this line will not work |
# | Aug 7th 2008, 12:22 | tbranyen | $sanitized = Sanitize::stripScripts($this->Post->read()); |
# | Aug 7th 2008, 12:22 | anthony | i don't think you should set the layout in the View |
# | Aug 7th 2008, 12:22 | jaredhoyt | anthony: why not? |