IRC log for #flow3 on 20110706

07:30.12*** join/#flow3 beberlei (~chatzilla@p5099d03e.dip0.t-ipconnect.de)
07:45.53*** join/#flow3 t3rob (~t3rob@communicate.robertlemke.de)
07:47.11jwaso how does this work? http://forge.typo3.org/issues/11169
07:48.08beberleicode generation and autoload maps
07:49.03jwaso no need for that extension
07:49.26beberleino
07:49.30t3robjwa: you mean the test helpers extension?
07:49.33jwaphew :)
07:49.36jwayes
07:49.38t3robno, that's not needed.
07:50.07t3robIf you want to write unit tests for some very specific cases, the test helper extension might become handy.
07:50.14t3robBut for the time being we don't use it
07:50.24beberleithats why its called test_helper :O
07:51.04beberleibtw t3rob i was taking a deep look at flow3 code yesterday evening to get into the mood
07:51.11beberleiwe will have much to discuss :O
07:51.31jwabeberlei: you're a doctrine dev?
07:51.38beberleiyes
07:51.40*** join/#flow3 DNukem (~DNukem@pd95b7e26.dip0.t-ipconnect.de)
07:57.07jascalcan I "inject" a property into each model I get from a repository that contains the object's identifier?
08:04.42*** join/#flow3 Jippi (~jippignu@109.202.139.50)
08:32.57*** join/#flow3 denyerec (~denyerec@109-170-173-163.xdsl.murphx.net)
09:18.45goliHmm, could you explain what you try to do, jascal?
10:13.13*** join/#flow3 zgaga (~df@89-212-110-140.static.t-2.net)
10:19.14*** join/#flow3 DNukem (~DNukem@pd95b7e26.dip0.t-ipconnect.de)
10:20.21jascalgoli: we found it out in #t3px :-)
10:36.08goliJascal: Oh, didn't read it for a while :D
10:37.35jascalit's too mainstream anyway ;_)
12:01.58*** part/#flow3 zgaga (~df@89-212-110-140.static.t-2.net)
12:06.38*** join/#flow3 k3ks (~maurer@nat.de.netviewer.com)
12:31.06k3kshi
12:31.37k3ksis there a full list of possible values for action annotations? like @param and @validate
12:32.43k3ksfor example is Numeric a possible value for @validate?
12:44.16*** join/#flow3 nd__ (~nd@mnhm-4d00ff4c.pool.mediaWays.net)
13:28.35k3ksis there a way to make an parameter optional?
14:11.38*** join/#flow3 farconada (~falcifer@202.Red-83-56-246.dynamicIP.rima-tde.net)
14:14.27k3ksi'm digging into the codebase to find out how a parameter can be marked as optional
14:14.56k3ksi can't figure it out, please can someone help me?
14:21.38*** join/#flow3 zgaga (~df@89-212-110-140.static.t-2.net)
14:23.39goliHey k3ks. What about "public function foo($parameter = NULL)" ??
14:28.47k3ksyeah that works, but i don't think it's the flow3 way
14:30.26*** join/#flow3 foertel (~foertel@15-251-static.kielnet.net)
14:31.00*** part/#flow3 foertel (~foertel@15-251-static.kielnet.net)
14:35.35jascalit is, you could also add an "empty" validator
14:40.30k3ksjascal, with @validate $param Empty?
14:44.17goliHmm. There is no default empty validator, I think.
14:44.39goliThere is a "NotEmptyValidator" that requires the property to be not empty.
14:44.59goliReason for that is not to allow passing NULL explicitely, I guess.
14:45.09jascalyeah, and making it optional would be $param = NULL
14:45.50goliRight. That's what I wanted to say. No need for adding behavior that's already covered by PHP raw mechanisms :)
14:48.22k3ksok thx
14:50.45jascalyeah, I asked that exact same question two years ago ;-)
14:50.47jascalhttp://lists.typo3.org/pipermail/typo3-project-5_0-general/2009-October/002437.html
14:52.02goliHa ha ha, Robets answer is nice.
14:52.22goli"The easyest way to define an optional argument is to define an optinal argument" :D
14:52.25jascalyepp :-)
14:52.31jascalit was just too easy
14:52.35goliThat's great :)
15:12.11*** join/#flow3 boonkerz (~boonkerz@pd95c8e64.dip0.t-ipconnect.de)
15:13.00*** join/#flow3 boonkerz_ (~boonkerz@pd95c8e64.dip0.t-ipconnect.de)
16:25.03*** join/#flow3 foertel (~foertel@15-251-static.kielnet.net)
16:25.31*** part/#flow3 foertel (~foertel@15-251-static.kielnet.net)
18:11.35*** join/#flow3 farconada (~falcifer@184.Red-83-40-47.dynamicIP.rima-tde.net)
18:45.58*** join/#flow3 beberlei (~twitter@koln-5d81afd3.pool.mediaWays.net)
19:41.45*** join/#flow3 Thasmo (~thasmo@d86-33-68-79.cust.tele2.at)
19:47.54*** join/#flow3 Jippi (~jippignu@x1-6-60-33-4b-2e-fb-5c.k47.webspeed.dk)
21:13.43*** join/#flow3 zgaga (~fkx@89-212-110-140.static.t-2.net)
21:31.50*** join/#flow3 boonkerz_ (~boonkerz@p4FC30C9E.dip.t-dialin.net)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.