Re: namespaces in cakePHP 3?

2015-01-23 Thread McScreech
got it, many thanx. On Friday, 23 January 2015 15:07:25 UTC-5, McScreech wrote: > > where are namespaces defined in cakePHP 3 source? > > (i'm posting on google groups cakePHP **and** stackoverflow cakePHP) > (if this is the wrong place to post this, i appologize - where **should** > it go?)

Re: namespaces in cakePHP 3?

2015-01-23 Thread Anthony GRASSIOT
it's defined here : https://github.com/cakephp/cakephp/blob/3.0/composer.json#L35 and corespond to the src folder. Le 23 janv. 2015 21:17, "McScreech" a écrit : > sorry, i meant to ask about the 'Cake' namespace specifically. thanx again. > > On Friday, 23 January 2015 15:07:25 UTC-5, McScreech w

Re: namespaces in cakePHP 3?

2015-01-23 Thread McScreech
sorry, i meant to ask about the 'Cake' namespace specifically. thanx again. On Friday, 23 January 2015 15:07:25 UTC-5, McScreech wrote: > > where are namespaces defined in cakePHP 3 source? > > (i'm posting on google groups cakePHP **and** stackoverflow cakePHP) > (if this is the wrong place t

namespaces in cakePHP 3?

2015-01-23 Thread McScreech
where are namespaces defined in cakePHP 3 source? (i'm posting on google groups cakePHP **and** stackoverflow cakePHP) (if this is the wrong place to post this, i appologize - where **should** it go?) setup: Windows 7 Business Edition Service Pack 1 Server version: Apache/2.4

Re: Session date missing after redirect

2015-01-23 Thread Ken Winans
It wasn't a call to pr() or an echo. It was whitespace following a closing PHP tag. I just went through every file and got rid of every closing PHP tag. Should have done it a long time ago. I only have myself to blame. :-o -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twit

Re: Session date missing after redirect

2015-01-23 Thread Ken Winans
Thanks, I will do that. Ken -- 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, se

cakephp 3.0 time and date

2015-01-23 Thread Andras Kende
Im trying to pass a logged in user current date with timezone offset in ‘Y-m-d’ format from controller to view in CakePHP 3.0. Somehow date format becomes datetime format once in the view. AppController.php - beforeFilter $dateuser = Time::now(); $dateuser->setToStringFo

Re: Cakephp 3.0 Get and Modify Query conditions in beforeFind function

2015-01-23 Thread Cake Developer
Hi Josh, I tried both PlumSearch and Search Plugin in my application and they are not working as expected. They are adding search arguments in existing conditions in query object. Failing Situation. Existing condition has Users.active = 1 and If new condition array has Users.active = 0 so this

Re: Cakephp 3.0 Get and Modify Query conditions in beforeFind function

2015-01-23 Thread José Lorenzo
What have you tried so far? On Friday, January 23, 2015 at 9:25:21 AM UTC+1, Cake Developer wrote: > > Hi Experts, > > Can anyone solve my problem please? > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message becau

Re: Cake 3.0 - get source table and schema of each field in a recordset

2015-01-23 Thread Ernesto
Here's what i ended up with class TableHelper extends Helper { public function build(ResultSet $resultset) { foreach ($resultset as $result) { $schema = $this->getSchema($result->source(), $result->toArray()); break; } debug($schema); //do stuff } public function getSchema($table, $data) {

Re: Cake 3.0 - get source table and schema of each field in a recordset

2015-01-23 Thread Ernesto
Here's what i ended up with class TableHelper extends Helper { public function build(ResultSet $resultset) { foreach ($resultset as $result) { $schema = $this->getSchema($result->source(), $result->toArray()); break; } debug($schema); //do stuff } public function getSchema($table, $data) {

Re: Cakephp 3.0 Get and Modify Query conditions in beforeFind function

2015-01-23 Thread Cake Developer
Hi Experts, Can anyone solve my problem please? -- 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 receivin

Calling Cells or Helpers from a Widget

2015-01-23 Thread Dieter Gribnitz
Hi, Just wanted to find out if there is any good way to call a Cell, Helper or View object from a Widget. I have a workaround for my current needs but would just like to know if there is a proper way to accomplish this for future reference. Thanks. -- Like Us on FaceBook https://www.facebook.