07:30.12 | *** join/#flow3 beberlei (~chatzilla@p5099d03e.dip0.t-ipconnect.de) |
07:45.53 | *** join/#flow3 t3rob (~t3rob@communicate.robertlemke.de) |
07:47.11 | jwa | so how does this work? http://forge.typo3.org/issues/11169 |
07:48.08 | beberlei | code generation and autoload maps |
07:49.03 | jwa | so no need for that extension |
07:49.26 | beberlei | no |
07:49.30 | t3rob | jwa: you mean the test helpers extension? |
07:49.33 | jwa | phew :) |
07:49.36 | jwa | yes |
07:49.38 | t3rob | no, that's not needed. |
07:50.07 | t3rob | If you want to write unit tests for some very specific cases, the test helper extension might become handy. |
07:50.14 | t3rob | But for the time being we don't use it |
07:50.24 | beberlei | thats why its called test_helper :O |
07:51.04 | beberlei | btw t3rob i was taking a deep look at flow3 code yesterday evening to get into the mood |
07:51.11 | beberlei | we will have much to discuss :O |
07:51.31 | jwa | beberlei: you're a doctrine dev? |
07:51.38 | beberlei | yes |
07:51.40 | *** join/#flow3 DNukem (~DNukem@pd95b7e26.dip0.t-ipconnect.de) |
07:57.07 | jascal | can 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.45 | goli | Hmm, 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.21 | jascal | goli: we found it out in #t3px :-) |
10:36.08 | goli | Jascal: Oh, didn't read it for a while :D |
10:37.35 | jascal | it'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.06 | k3ks | hi |
12:31.37 | k3ks | is there a full list of possible values for action annotations? like @param and @validate |
12:32.43 | k3ks | for example is Numeric a possible value for @validate? |
12:44.16 | *** join/#flow3 nd__ (~nd@mnhm-4d00ff4c.pool.mediaWays.net) |
13:28.35 | k3ks | is 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.27 | k3ks | i'm digging into the codebase to find out how a parameter can be marked as optional |
14:14.56 | k3ks | i 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.39 | goli | Hey k3ks. What about "public function foo($parameter = NULL)" ?? |
14:28.47 | k3ks | yeah 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.35 | jascal | it is, you could also add an "empty" validator |
14:40.30 | k3ks | jascal, with @validate $param Empty? |
14:44.17 | goli | Hmm. There is no default empty validator, I think. |
14:44.39 | goli | There is a "NotEmptyValidator" that requires the property to be not empty. |
14:44.59 | goli | Reason for that is not to allow passing NULL explicitely, I guess. |
14:45.09 | jascal | yeah, and making it optional would be $param = NULL |
14:45.50 | goli | Right. That's what I wanted to say. No need for adding behavior that's already covered by PHP raw mechanisms :) |
14:48.22 | k3ks | ok thx |
14:50.45 | jascal | yeah, I asked that exact same question two years ago ;-) |
14:50.47 | jascal | http://lists.typo3.org/pipermail/typo3-project-5_0-general/2009-October/002437.html |
14:52.02 | goli | Ha ha ha, Robets answer is nice. |
14:52.22 | goli | "The easyest way to define an optional argument is to define an optinal argument" :D |
14:52.25 | jascal | yepp :-) |
14:52.31 | jascal | it was just too easy |
14:52.35 | goli | That'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) |