# |
Oct 22nd 2009, 08:16 |
Ceeram |
ihave 5.1.2 which does have mb_strrpos() but doesnt take $offset param whcich is used in test |
# |
Oct 22nd 2009, 08:16 |
liaogz82 |
can i create one specially myself say ... $advertisement_for_layout? |
# |
Oct 22nd 2009, 08:15 |
PhpNut |
where? |
# |
Oct 22nd 2009, 08:15 |
spaced312 |
how can i send simple php emails using mail() from my controller? |
# |
Oct 22nd 2009, 08:15 |
Ceeram |
PhpNut: the $offset param |
# |
Oct 22nd 2009, 08:15 |
liaogz82 |
you echo that in cakePHP to display contents |
# |
Oct 22nd 2009, 08:15 |
PhpNut |
Ceeram what is issue with multibyte code? |
# |
Oct 22nd 2009, 08:15 |
jessica-m |
i cant see anything where it would be set that way |
# |
Oct 22nd 2009, 08:15 |
liaogz82 |
i know that cakePHP has its $content_for_layout |
# |
Oct 22nd 2009, 08:15 |
jessica-m |
ok im just going to manually update the modified field then |
# |
Oct 22nd 2009, 08:14 |
Ceeram |
well that why i took the ones with offset out and put them in another test which will skip if php<5.2.0 |
# |
Oct 22nd 2009, 08:14 |
liaogz82 |
hi all |
# |
Oct 22nd 2009, 08:14 |
Ceeram |
well i do have the function it just does not take the $offset parameter |
# |
Oct 22nd 2009, 08:14 |
markstory |
yeah, so the tests should only run when the function is created. |
# |
Oct 22nd 2009, 08:13 |
Ceeram |
yes got that, its because if function not exists cake will define it |
# |
Oct 22nd 2009, 08:13 |
markstory |
same with all the unclassed functions. |
# |
Oct 22nd 2009, 08:13 |
Ceeram |
~tell Gothfunc about book multiple relations to same model |
# |
Oct 22nd 2009, 08:13 |
odegard |
I've been banging my head against an Auth problem. I''ve stripped everything down to basics, but I still can't log in with a user. Would someone help me please? |
# |
Oct 22nd 2009, 08:13 |
markstory |
Ceeram: I think the tests are to test the mb_strrpos that multibyte can create. |
# |
Oct 22nd 2009, 08:12 |
Gothfunc |
hehe |
# |
Oct 22nd 2009, 08:12 |
markstory |
circular relationships make the world go round. |
# |
Oct 22nd 2009, 08:12 |
markstory |
you did hear wrong. |
# |
Oct 22nd 2009, 08:12 |
Gothfunc |
i just heard that cake doesn't like circular relationships or something. i heard wrong :) |
# |
Oct 22nd 2009, 08:12 |
markstory |
could even call it favorite_article_id so its clear. |
# |
Oct 22nd 2009, 08:11 |
markstory |
then you might want to save all the duplicate columns. |
# |
Oct 22nd 2009, 08:11 |
Gothfunc |
nah just the one |
# |
Oct 22nd 2009, 08:11 |
Gothfunc |
ok, thanks markstory |
# |
Oct 22nd 2009, 08:11 |
markstory |
it depends if you have more favorite things. |
# |
Oct 22nd 2009, 08:11 |
markstory |
Gothfunc: you can do it that way. |
# |
Oct 22nd 2009, 08:11 |
Gothfunc |
anyone? |
# |
Oct 22nd 2009, 08:11 |
Ceeram |
~tell rokker about book linking models together |
# |
Oct 22nd 2009, 08:10 |
Ceeram |
i'm convinced it's explained very clear |
# |
Oct 22nd 2009, 08:10 |
Ceeram |
rokker: what does the manual say? |
# |
Oct 22nd 2009, 08:10 |
NoReGreT |
what are the limitations of ACL ? I hear that most poeple try to avoind ACL, why is that ? |
# |
Oct 22nd 2009, 08:09 |
rokker |
What do when 2 models will "hasmany" other model? like: Places hasmany images, Rooms hasmany images.. What fields images tables contain? |
# |
Oct 22nd 2009, 08:09 |
Ceeram |
which i knind of suggested with saying: Don't understand why PHP functions are tested even |
# |
Oct 22nd 2009, 08:08 |
Ceeram |
so testUsingMbStrrpos() could be removed comletely as well |
# |
Oct 22nd 2009, 08:07 |
Ceeram |
so replacing all the mc_strrpos(0 by Multibyte::strrpos() would result in duplicate tests |
# |
Oct 22nd 2009, 08:06 |
Ceeram |
they are the same, one just uses php functions other one is using MB class |
# |
Oct 22nd 2009, 08:06 |
Ceeram |
markstory: look for function testUsingMbStrrpos() and function testMultibyteStrrpos() |
# |
Oct 22nd 2009, 08:04 |
Gothfunc |
seems a little circular |