Re: CakePHP 3 - Where is custom datasource ?

2015-04-03 Thread Salines
Ok, thank you.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: Cakephp 3.0 saveField

2015-04-03 Thread euromark
Just use save()?


Am Freitag, 3. April 2015 00:05:12 UTC+2 schrieb DiV:

 How can I update a single field if I know record's id without retrieving a 
 row?
 There was a method saveField for this action in cakephp 2.x


-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


CakePHP 3 - Where is custom datasource ?

2015-04-03 Thread mark_story
The custom datasource approach from 2.x had a number of drawbacks and leaky 
abstractions which we decided we didn't want to bring forward. 

The new orm focuses on being really great for sql based datastores, and we felt 
it would be impossible to provide great sql support and every other kind of 
datasource. Instead custom datasources that don't use sql should provide an 
implementation of the RepositoryInterface, a query builder and possible a 
specialized entity object.

Unfortunately, there aren't many examples of this approach in the wild. There 
is an incomplete start on an elasticsearch plugin in the cakephp github account 
but it is nowhere near complete.

-mark

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


CakePHP 3 Plugin Routing

2015-04-03 Thread Salines
Hello,

for the purpose of migration to cakephp3 and mastering the skills of making 
applications to this version of the framework, I just baked app and plugin.

I want to separate the Web application in plugins, Admin, Customers, etc.

I'm fine to access locations within the plugin, for example 
myapp/admin/users, myapp/admin/,  but if I try to visit the url myapp/admin 
(*without the slash at the end*) I have to redirect the location 
myapp/webroot/admin/

in myapp/webroot/ I have a theme folder called admin, I tried to change the 
name in admintheme, but still have a redirect.

How to solve this?

Thank You.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: Cakephp 3.0 saveField

2015-04-03 Thread DiV
example please

пятница, 3 апреля 2015 г., 15:03:12 UTC+3 пользователь euromark написал:

 Just use save()?


 Am Freitag, 3. April 2015 00:05:12 UTC+2 schrieb DiV:

 How can I update a single field if I know record's id without retrieving 
 a row?
 There was a method saveField for this action in cakephp 2.x



-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: Default Controller Action

2015-04-03 Thread akggalaxy
Hi you can change your routes.php as instruction is in below url:

http://agalaxycode.blogspot.com/2015/04/how-to-change-default-controller-in.html
http://agalaxycode.blogspot.com/2015/04/how-to-change-default-controller-in.html
  





--
View this message in context: 
http://cakephp.1045679.n5.nabble.com/Default-Controller-Action-tp1276522p5721034.html
Sent from the CakePHP mailing list archive at Nabble.com.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Retrieving data from different models on passing different parameters in cakephp for advance search feature

2015-04-03 Thread Apoorva Purohit
I have made code with all data through different models but data based on 
ids is not relevant.
What to do?

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


how to get all models name dynamically?

2015-04-03 Thread piya

 I am using cakphp 2.3 version. i want to update the all table's field 
dynamically.
 For that I need to get all the models name dynamically. Can Anyone tell me 
any way to get all models name dynamically?

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.