Page 99 of 211,239, showing 20 records out of 4,224,769 total, starting on record 1,961, ending on 1,980
# | Username | Text | |
---|---|---|---|
# | Aug 7th 2008, 03:39 | poluta1 | alkemann: i'am in app_model.php |
# | Aug 7th 2008, 03:39 | alkemann | AppModel extends Model :) |
# | Aug 7th 2008, 03:40 | poluta1 | yes.. how to check if the model object has a session property? |
# | Aug 7th 2008, 03:40 | alkemann | http://api.cakephp.org/1.2/class_model.html |
# | Aug 7th 2008, 03:40 | stevieboy | Session->check('myProp') |
# | Aug 7th 2008, 03:40 | achew22 | does anyone know of any good js time pickers? |
# | Aug 7th 2008, 03:41 | alkemann | many good ones :) |
# | Aug 7th 2008, 03:41 | achew22 | well.. I only need one ;) |
# | Aug 7th 2008, 03:41 | alkemann | http://bakery.cakephp.org/articles/view/using-the-unobtrusive-date-picker-widget-in-cakephp |
# | Aug 7th 2008, 03:42 | Martz | poluta1, alkemann: Heres what I think (not necessarily the best way to do it - but the way *I* did it) - session should be passed by the controller to the model, can be done with like beforeFiler() { $this->{$modelClass}->captcha = $session->read(); } and then in your app_model do var $captcha = null; and then in your model method $this->captcha should be populated with the session date you wrote |
# | Aug 7th 2008, 03:42 | achew22 | alkemann: but I just need input on time :( |
# | Aug 7th 2008, 03:43 | alkemann | achew22: here use my helper http://bin.cakephp.org/view/1905778472 |
# | Aug 7th 2008, 03:43 | stevieboy | achew22: what about customizing this? http://ajaxian.com/archives/datepicker-using-prototype-and-scriptaculous |
# | Aug 7th 2008, 03:43 | poluta1 | alkemann: i don't understand what u mean. i don't find any session property in model class |
# | Aug 7th 2008, 03:44 | alkemann | poluta1: right. then there is your answer |
# | Aug 7th 2008, 03:44 | achew22 | stevieboy: too bad its 404'd |
# | Aug 7th 2008, 03:44 | alkemann | Martz: yea that is sorta what i do in my Logable behavior as well |
# | Aug 7th 2008, 03:44 | alkemann | Martz: havent found a clear cut best practise on it yet |
# | Aug 7th 2008, 03:44 | stevieboy | achew22: argh, sorry bout that |
# | Aug 7th 2008, 03:45 | poluta1 | alkemann: so i can't create custom validation function that validating captcha? |