Log message #3341581

# At Username Text
# Aug 4th 2014, 02:48 angelxmoreno Jonno_FTW: rofl
# Aug 4th 2014, 02:48 Jonno_FTW protected function get($var) { return $this->viewVars[$var]; }
# Aug 4th 2014, 02:47 Jonno_FTW with blackjack and hookers
# Aug 4th 2014, 02:47 markstory ok
# Aug 4th 2014, 02:47 Jonno_FTW I'll write my own function
# Aug 4th 2014, 02:47 markstory $this->viewVars
# Aug 4th 2014, 02:47 markstory you can
# Aug 4th 2014, 02:47 Jonno_FTW i should be able to get a property
# Aug 4th 2014, 02:46 markstory viewVars is a property
# Aug 4th 2014, 02:46 markstory so its not incorrect
# Aug 4th 2014, 02:46 Jonno_FTW why not if viewVars does the same thing?
# Aug 4th 2014, 02:46 markstory well 5.4 is 5.3+ :)
# Aug 4th 2014, 02:46 angelxmoreno oh snap, i've been telling people cake3 is 5.3
# Aug 4th 2014, 02:46 markstory not in controllers
# Aug 4th 2014, 02:46 Jonno_FTW thought there would be $this->get
# Aug 4th 2014, 02:46 Jonno_FTW ah
# Aug 4th 2014, 02:46 markstory $this->viewVars
# Aug 4th 2014, 02:46 Jonno_FTW controller
# Aug 4th 2014, 02:45 markstory in a controller or a view?
# Aug 4th 2014, 02:45 markstory Jonno_FTW: where are you?
# Aug 4th 2014, 02:45 Jonno_FTW how do I get a variable set using $this->set in a controller?
# Aug 4th 2014, 02:45 markstory but not for behaviors
# Aug 4th 2014, 02:45 markstory we use a pile of traits
# Aug 4th 2014, 02:45 markstory cake3 is 5.4+
# Aug 4th 2014, 02:44 angelxmoreno damn, i was looking forward to seeing a better implementation of behaviors in core using traits
# Aug 4th 2014, 02:44 markstory 5.4 also fixes $this in closures
# Aug 4th 2014, 02:44 markstory generators and finally in 5.5
# Aug 4th 2014, 02:43 markstory nope
# Aug 4th 2014, 02:43 angelxmoreno aw damn, traits in 5.4, i thought it was 5.3.
# Aug 4th 2014, 02:37 Hippo close enough? :p
# Aug 4th 2014, 02:36 angelxmoreno oh, ok
# Aug 4th 2014, 02:36 markstory my bad
# Aug 4th 2014, 02:36 markstory *can't
# Aug 4th 2014, 02:35 angelxmoreno reason*
# Aug 4th 2014, 02:35 angelxmoreno omg, wtf for? lol. i'd love to see a good resaon to do that
# Aug 4th 2014, 02:34 markstory and you can go in/out of loops/conditionals
# Aug 4th 2014, 02:33 angelxmoreno aw man, goto label can not be vars!
# Aug 4th 2014, 02:32 LckyBy517 put a goto in somewhere that just directs it all around a file and does nothing but make it process a bunch haha
# Aug 4th 2014, 02:31 angelxmoreno markstory: it is not for merging, it is for trolling
# Aug 4th 2014, 02:31 markstory Iâ??ve never used it personally
# Aug 4th 2014, 02:31 markstory unless there is a good reason to use goto