# |
Apr 20th 2017, 09:15 |
Neon1024 |
https://book.cakephp.org/3.0/en/controllers/request-response.html#checking-request-conditions |
# |
Apr 20th 2017, 09:15 |
crazycoder |
awesome |
# |
Apr 20th 2017, 09:15 |
Neon1024 |
$this->request->is(‘json’) |
# |
Apr 20th 2017, 09:15 |
Neon1024 |
Yes it does |
# |
Apr 20th 2017, 09:14 |
Neon1024 |
Buongiorno! |
# |
Apr 20th 2017, 09:14 |
crazycoder |
to avoid setting the type to "html" |
# |
Apr 20th 2017, 09:14 |
crazycoder |
i am chaning my custom ExceptionRenderer |
# |
Apr 20th 2017, 09:14 |
crazycoder |
is('json') exists? |
# |
Apr 20th 2017, 09:14 |
crazycoder |
morning! |
# |
Apr 20th 2017, 09:14 |
Neon1024 |
Morning crazycoder |
# |
Apr 20th 2017, 09:13 |
crazycoder |
Neon1024, ! :D |
# |
Apr 20th 2017, 09:13 |
crazycoder |
hello |
# |
Apr 20th 2017, 08:41 |
rrueco |
Neon1024, It's ok tho. It's learning |
# |
Apr 20th 2017, 08:38 |
Neon1024 |
https://book.cakephp.org/3.0/en/orm/query-builder.html#adding-joins |
# |
Apr 20th 2017, 08:38 |
nv-vasu |
? |
# |
Apr 20th 2017, 08:38 |
nv-vasu |
is this a solution to use custom join in cakephp3 as same in cakephp2 we did ? |
# |
Apr 20th 2017, 08:37 |
nv-vasu |
$result = $this->Category->findAll(fields=>['id','Topic.id'], 'conditions'=>['Topic.name'=>'s'],'join'=>['Topic' => ['table' => 'topics','type' => 'INNER','conditions' => 'Topic.category_id = Category.id']]); |
# |
Apr 20th 2017, 08:37 |
Neon1024 |
ChrisApp: Yes, I think so, either dereuromark, or hmic were talking about it. I think there is a PR open for discussion |
# |
Apr 20th 2017, 08:37 |
nv-vasu |
hi.,,, $result = $this->Category->findAll(fields=>['id','Topic.id'], 'conditions'=>['Topic.name'=>'s'],'join'=>['Topic' => [ 'table' => 'topics', 'type' => 'INNER', 'conditions' => 'Topic.category_id = Category.id' ]]); |
# |
Apr 20th 2017, 08:37 |
Neon1024 |
dereuromark, ^ |
# |
Apr 20th 2017, 08:37 |
ChrisApp |
is there any proposal for decoupling Pagination logic from Controller layer? |
# |
Apr 20th 2017, 08:35 |
Neon1024 |
Which ones? Perhaps can we can clarify them for you |
# |
Apr 20th 2017, 08:34 |
rrueco |
it's always great to drop by here every day. But sometimes I get confused with words/terms being used haha :v: |
# |
Apr 20th 2017, 08:33 |
Neon1024 |
Heya |
# |
Apr 20th 2017, 08:32 |
byz |
Hi guys |
# |
Apr 20th 2017, 08:24 |
voycey |
ah ok - learn something every day :slightly_smiling_face: |
# |
Apr 20th 2017, 08:24 |
admad |
@voycey webserver never receives the URL fragment, so no server side lang can help you |
# |
Apr 20th 2017, 08:01 |
Neon1024 |
Haha |
# |
Apr 20th 2017, 08:00 |
voycey |
because Australia sucks at doing any of those things |
# |
Apr 20th 2017, 08:00 |
voycey |
In order I am doing: Fish and Chips, Balti, Jamican Food, Fry up |
# |
Apr 20th 2017, 08:00 |
voycey |
Im just coming back for some work and to visit family |
# |
Apr 20th 2017, 08:00 |
voycey |
Im drinking a cup of Yorkshire right now - got my mate to smuggle 400 back for me last time :,) |
# |
Apr 20th 2017, 07:59 |
Neon1024 |
;) |
# |
Apr 20th 2017, 07:59 |
Neon1024 |
Oh wow, your work visa run out or just missing proper tea? |
# |
Apr 20th 2017, 07:58 |
voycey |
I fly back to the motherland on Monday Neon1024 |
# |
Apr 20th 2017, 07:57 |
voycey |
:maybe:thesethings? |
# |
Apr 20th 2017, 07:56 |
Neon1024 |
;) |
# |
Apr 20th 2017, 07:56 |
Neon1024 |
I wasn’t sure what a fragment was anyway |
# |
Apr 20th 2017, 07:56 |
voycey |
ill fudge it in JS |
# |
Apr 20th 2017, 07:56 |
voycey |
dosent catch it :( |
# |
Apr 20th 2017, 07:56 |
Neon1024 |
https://github.com/zendframework/zend-diactoros/blob/master/src/Uri.php#L213 |