# |
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` |
# |
Oct 4th 2016, 17:44 |
Unfaiir |
How long will development on CakePHP 2.x continue? |
# |
Oct 4th 2016, 17:34 |
djbuss |
is there any relation between Collection and the ORM resultsets ? |
# |
Oct 4th 2016, 17:04 |
inoas |
good evening bakress and bakers |
# |
Oct 4th 2016, 16:42 |
xymanek |
patsToms http://api.cakephp.org/3.3/class-Cake.Routing.RequestActionTrait.html |
# |
Oct 4th 2016, 16:37 |
patsToms |
"Check to see whether the request has a query param â??requestedâ?? with value 1." |
# |
Oct 4th 2016, 16:36 |
patsToms |
http://book.cakephp.org/3.0/en/controllers/request-response.html#Cake\Network\Request::addDetector |
# |
Oct 4th 2016, 16:36 |
patsToms |
what is the reason for request query param? |
# |
Oct 4th 2016, 16:33 |
NickBusey |
Hmm, doesn't look like there is an equivalent of 'bin/cake plugin assets symlink' for vendors, but it seems like there should be... |
# |
Oct 4th 2016, 16:11 |
inoas |
e.g. if someone is already using the hashkey model and scope (userland option) then stuff suddenly breaks |
# |
Oct 4th 2016, 16:10 |
inoas |
"If we are using B instead of A and userland code (custom PaginatorHelpers based on core PaginatonHelper) use 'scope' and 'model' and then call parent::, then the (here) updated Paginator will break, wouldn't it?" |
# |
Oct 4th 2016, 16:10 |
inoas |
dereuromark it is below @ https://github.com/cakephp/cakephp/pull/9564#discussion_r81680802 I think we should do as it is in my PR |
# |
Oct 4th 2016, 16:10 |
NickBusey |
what's the best practice for including assets from composer includes? I have files in vendor/fortawesome/font-awesome/fonts/ that I want in webroot/fonts/. Symlinking? Just moving them? Apache config? |
# |
Oct 4th 2016, 16:06 |
dereuromark |
ionas: what is your suggestion? |