Log message #108686

# At Username Text
# Aug 7th 2008, 04:31 Martz poluta1: and if you try and implement it and get any errors, please bin your code of what you have (app controller, app model, and any models using it)
# Aug 7th 2008, 04:31 JeffEmbracedDC hey martz ... you familiar with 'with' associations for join tables?
# Aug 7th 2008, 04:31 pgcd stevieboy: we belong to the church of "Everything should be on one line", probably =)
# Aug 7th 2008, 04:31 stevieboy pgcd: that's just wrong,imho
# Aug 7th 2008, 04:30 Martz poluta1: something like this - also read the comments in top. = 'foo'; would be the logic to grab whatever you want from Session::read() http://bin.cakephp.org/view/1267003022
# Aug 7th 2008, 04:30 pgcd stevieboy: somehow i feel i shouldn't have it in my views...
# Aug 7th 2008, 04:30 JeffEmbracedDC foreach is okay but it's usually not as fast as other loop methods .
# Aug 7th 2008, 04:30 stevieboy pgcd: lol, i cant see why. it's like the one with the guy who says "continue" is evil in loops
# Aug 7th 2008, 04:29 pgcd stevieboy: yep, i admit to being a bit wary of foreach...
# Aug 7th 2008, 04:29 pgcd stevieboy: well, I could certainly extract both the ids and the names, but i fail to see how combining the arrays would help...
# Aug 7th 2008, 04:29 stevieboy pgcd: do you see foreach as sth evil? you keep avoiding it
# Aug 7th 2008, 04:29 poluta1 Martz: ok thank Martz.. i'am waiting :)
# Aug 7th 2008, 04:28 JeffEmbracedDC when using 'With' associations - is it possible to set up afterSave functions?
# Aug 7th 2008, 04:28 pgcd htmlhelper->link doesn't work with arrays, does it?
# Aug 7th 2008, 04:28 stevieboy pgcd: maybe array_combine helps?
# Aug 7th 2008, 04:27 pgcd Ok, so set::extract works great to make lists - what I can't seem to do without a foreach is having the list turned into a list of links, instead of strings...
# Aug 7th 2008, 04:27 thestaff what do you use ?
# Aug 7th 2008, 04:27 poluta1 i can't modify AppModel model class attributes
# Aug 7th 2008, 04:26 batcoder-7 whats the max you guys ever got done in 5 hours ?
# Aug 7th 2008, 04:26 stevieboy *it
# Aug 7th 2008, 04:26 stevieboy i dont use the thickbox-thingy, so i cant really test is
# Aug 7th 2008, 04:25 thestaff stevieboy, what should I do ?
# Aug 7th 2008, 04:25 TheBig Martz, I'll check now, thanks
# Aug 7th 2008, 04:25 poluta1 i can't modify AppModel model class
# Aug 7th 2008, 04:25 thestaff haha
# Aug 7th 2008, 04:25 Martz poluta1: 1 sec i'll bin some sorta logic for you
# Aug 7th 2008, 04:25 stevieboy thestaff: i referred to the replace-regex
# Aug 7th 2008, 04:25 Martz TheBig: There is TextHelper::truncate - so do you mean in the query or in the view?
# Aug 7th 2008, 04:25 poluta1 Martz: failed :(
# Aug 7th 2008, 04:24 batcoder-7 fammit 4 more hours
# Aug 7th 2008, 04:24 stevieboy p
# Aug 7th 2008, 04:24 stevieboy slifox: see you next month
# Aug 7th 2008, 04:24 thestaff stevieboy, ?
# Aug 7th 2008, 04:24 stevieboy thestaff: nerd!
# Aug 7th 2008, 04:24 slifox heh cheers I'll give this manual a read
# Aug 7th 2008, 04:24 TheBig is there a cakeway to truncate text? like before read all of some items?
# Aug 7th 2008, 04:24 stevieboy slifox: it helps you with data retrival (how is that spelled?), validation, html+form-generation, date/time-conversion and soooooo much more
# Aug 7th 2008, 04:23 Martz slifox: debugging typos will be the most "fun" for you ;)
# Aug 7th 2008, 04:23 Martz slifox: its a steep learning curve but its well worth it. And if you're new to PHP, its "good" that you won't learn all the nasty ways people usually do things without a framework
# Aug 7th 2008, 04:23 thestaff \/s/the/then/
# Aug 7th 2008, 04:23 slifox with things like validation etc