# |
Oct 5th 2016, 02:47 |
Xeus |
I got it working, thanks! :) |
# |
Oct 5th 2016, 02:47 |
Xeus |
Hash::extract($bot, 'bot_external_scripts.{n}.external_script.name') |
# |
Oct 5th 2016, 02:46 |
Xeus |
I figuredout what I was doing wrong |
# |
Oct 5th 2016, 02:46 |
Xeus |
derp |
# |
Oct 5th 2016, 02:46 |
Xeus |
I tried this and the array was empty: Hash::extract($bot, 'bot_external_scripts.{n}.name') |
# |
Oct 5th 2016, 02:44 |
Xeus |
Anyone know how I could accomplish this same task with Hash::extract()? ^ |
# |
Oct 5th 2016, 02:44 |
Xeus |
https://www.irccloud.com/pastebin/sDgYbwzn/ |
# |
Oct 5th 2016, 02:34 |
djbuss |
tried to ln -s the intl.ini from noncli to cli and got `Unable to load dynamic library,` not cake error, but anyone had to deal with the same thign ? |
# |
Oct 5th 2016, 02:32 |
djbuss |
php -i doesn't |
# |
Oct 5th 2016, 02:32 |
djbuss |
phpinfo show intl |
# |
Oct 5th 2016, 02:32 |
djbuss |
Iâ??m getting this cakephp/cakephp 3.2.10 requires ext-intl |
# |
Oct 5th 2016, 01:35 |
royalty |
D-rex, just the last word |
# |
Oct 5th 2016, 00:27 |
D-rex |
how would I reference an id of a table years_makes? do I singularize both or just the last word? |
# |
Oct 5th 2016, 00:27 |
moose517 |
:( |
# |
Oct 5th 2016, 00:22 |
moose517 |
*twiddles thumbs waiting on npm build* |
# |
Oct 4th 2016, 22:14 |
ra7bi |
how i can add condition to this query ``` $Participantsquery = TableRegistry::get('participants'); $Participant = $Participantsquery ->find()->contain(['Distributors', 'Events','Occupations','Payments','Payments.DistributorUsers']) ->where($where) ->order(['participants.created' => 'DESC'])->toList(); ``` i want to add ``` where Payments.DistributorUsers.id = 3 ``` |
# |
Oct 4th 2016, 22:13 |
ra7bi |
how i can add condition to this query ٫٫٫ $Participantsquery = TableRegistry::get('participants'); $Participant = $Participantsquery ->find()->contain(['Distributors', 'Events','Occupations','Payments','Payments.DistributorUsers']) ->where($where) ->order(['participants.created' => 'DESC'])->toList(); ٫٫٫ i want to add ``` where Payments.DistributorUsers.id = 3 `` |
# |
Oct 4th 2016, 22:12 |
ra7bi |
hello |
# |
Oct 4th 2016, 21:58 |
aqui |
Hi, anybody know how to use PsySH in order to use breakpoints in a Controller (Auth include) ? I don't find anything on the forum or stackoverflow (i have rtfm i just can't figure it out). |
# |
Oct 4th 2016, 21:25 |
moose517 |
geez never realized how out of date my phone OS is :,( |
# |
Oct 4th 2016, 21:24 |
Unfaiir |
cool I'll give it a shot, ty |
# |
Oct 4th 2016, 21:21 |
dereuromark |
I only know about case 1, not sure about yours, but I would guess so |
# |
Oct 4th 2016, 21:17 |
Unfaiir |
in the external vendor folder, I'm setting up "cakephp/cakephp" as a dependency. Can I just load all my dependencies there in the external "/vendor" folder, instead of in the "app/vendor" folder and then still be able to load them using "App::uses('Textile', 'Vendor');"? |
# |
Oct 4th 2016, 21:05 |
dereuromark |
and having the app dir as root dir then |
# |
Oct 4th 2016, 21:05 |
dereuromark |
I prefer the first |
# |
Oct 4th 2016, 21:05 |
dereuromark |
in 2.x you should be using Vendor inside the app, or vendors outside of it |
# |
Oct 4th 2016, 21:04 |
Unfaiir |
In 2.x, is the vendors dir used for anything other than composer? Or can I let that be the composer folder? |
# |
Oct 4th 2016, 19:15 |
rudy1976s |
no I need to use File and Folder classes |
# |
Oct 4th 2016, 19:14 |
NickBusey |
? in Cake? That sounds like a question for #bash or something. |
# |
Oct 4th 2016, 19:09 |
rudy1976s |
Hello I need to recursively copy all content of a directory and its subfolder to another flat directory: I am still confused |
# |
Oct 4th 2016, 18:06 |
Unfaiir |
easier migration sounds nice |
# |
Oct 4th 2016, 18:04 |
Unfaiir |
is this channel on slack? |
# |
Oct 4th 2016, 18:04 |
NeoThermic |
Well, there might be back ported 3.x features to make migration easier. |
# |
Oct 4th 2016, 18:04 |
Unfaiir |
perfect |
# |
Oct 4th 2016, 18:03 |
dakota |
There probably won't be any new features for 2.x, but bug fixes and security updates will still be done for a while |
# |
Oct 4th 2016, 18:01 |
dakota |
Thebreaker, yup |
# |
Oct 4th 2016, 18:00 |
Unfaiir |
slackebot1, sounds good, gives me time to migrate my clients to 3.x over time |
# |
Oct 4th 2016, 17:58 |
dakota |
which will not be any time soon |
# |
Oct 4th 2016, 17:58 |
dakota |
unfaiir, most likely until at least cakephp 4.0 is released |
# |
Oct 4th 2016, 17:54 |
NeoThermic |
Hopefully that puts the base64 PR closer to acceptance :) |
# |
Oct 4th 2016, 17:53 |
ndm |
@djbuss Result sets implement `ResultSetInterface`, which in turn extends `CollectionInterface` |