Hello there,
I've launched not long ago a new website using cakephp 3. I was just
wondering if it was possible to make it appear in the Companies using
CakePHP section of cakephp.org.
Is there a form / email address to apply for it?
Thx!
--
Like Us on FaceBook
['params'])
$redirect = Router::url(array_merge($url, $params))
On Thursday, March 19, 2015 at 6:32:07 PM UTC+1, Pgbi wrote:
The reason i need to parse and generate again an url is in the example I
gave in my first message:
In my App, when a user logs in, he is redirected to
$this-Auth
it again to the Router.
Could you explain?
On Thursday, March 19, 2015 at 1:00:16 AM UTC+1, Pgbi wrote:
Tell me if i'm wrong but i thought that Router::parse was the inverse of
Router::url.
In other words, I thought that $url == Router::url(Router::parse($url))would
always be true.
Just
Tell me if i'm wrong but i thought that Router::parse was the inverse of
Router::url.
In other words, I thought that $url == Router::url(Router::parse($url))would
always be true.
Just found out this was not the case.
If $url = /users/view/123 then Router::url(Router::parse($url)) =
Hi cakephp world !
With Router::connect() and Router::scope() one can pass a params parameter
which represents An array of routing defaults to add to each connected
route.
I was expecting Router::prefix() to be able to also handle a params
parameter. But that's not the case.
Is there any
After looking at the code, I found how to do:
Router::prefix('admin', callback) is actually equivalent to
Router::scope('/admin',
['prefix' = 'admin'], callback) so one can use Router::scope() to add
routing defaults to prefixed routes.
Le vendredi 13 mars 2015 09:40:18 UTC-7, Pgbi a écrit
Hi,
To avoid the Column 'xxx' in where clause is ambiguous error when making
queries involving multiple tables sharing the same name for a given column,
I now systematically include $this-alias() in where conditions :
$table-find()-where([$table-alias() . '.foo' = 'bar']);
Is this considered
I've set up a form where a user can input a date + time + timezone.
After submitting the form, in my controller, $this-request-data contains
this:
[
'date' = [
'year' = '2015',
'month' = '02',
'day' = '12',
'hour' = '22',
'minute' = '54',
:21 UTC+1 schrieb Pgbi:
Hi guys,
For one of my projects, I developed a plugin to nicely handle soft
deletion for some of my models. I thought I might share it with the
community (hope this is the right place to do it).
It can be found here =
https://packagist.org/packages/pgbi/cakephp3-soft
Hi guys,
For one of my projects, I developed a plugin to nicely handle soft deletion
for some of my models. I thought I might share it with the community (hope
this is the right place to do it).
It can be found here =
https://packagist.org/packages/pgbi/cakephp3-soft-delete
Any remarks about
10 matches
Mail list logo