Re: cakephp3 equivalent of invalidate

2014-10-03 Thread Rob Cowie
It becomes all so clear. Thanks!



On Thursday, 2 October 2014 14:59:51 UTC+1, José Lorenzo wrote:

 $entity-errors('my_field', ['This is the error message']);

 On Thursday, October 2, 2014 2:50:39 PM UTC+2, Rob Cowie wrote:

 Hi all. In cake 1.3 I used to be able to use 
 $model-invalidate('fieldname', 'This field is wrong!');

 Is there an equivalent way to perform this task in cake3?



-- 
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 load css from plugin

2014-10-03 Thread Radharadhya Dasa
I added $this-loadComponent('Math'); to my plugins' bootstrap.php
file but it did not load my css and js files automatically if the
plugin is installed. I copied the solution from DebugKit but I think
there should be some easier way than through EventManager.

Could you give me an example?

I would like to load helpers and components automatically if the
plugin is installed, but I did not find a soution for this also. Any
example would be appreiated.

rrd

2014-10-02 21:31 GMT+02:00 José Lorenzo jose@gmail.com:
 Same as in cake 2, you add the AssetsFilter to the dispatcher and put your
 files in the plugin's webroot folder

 On Thursday, October 2, 2014 4:29:50 PM UTC+2, Radharadhya Dasa wrote:

 Hi,

 How should I load a css file from a plugin on cake 3.0? I would like to
 let the plugin to laod its css file automatically if it is installed.

 rrd

 --
 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.

-- 
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 load css from plugin

2014-10-03 Thread José Lorenzo
I have no idea what you're talking about. There is no $this object in any 
bootstrap.php file

To include css files to a page you just add them to your templates using 
$this-Html-css();

On Friday, October 3, 2014 1:50:14 PM UTC+2, Radharadhya Dasa wrote:

 I added $this-loadComponent('Math'); to my plugins' bootstrap.php 
 file but it did not load my css and js files automatically if the 
 plugin is installed. I copied the solution from DebugKit but I think 
 there should be some easier way than through EventManager. 

 Could you give me an example? 

 I would like to load helpers and components automatically if the 
 plugin is installed, but I did not find a soution for this also. Any 
 example would be appreiated. 

 rrd 

 2014-10-02 21:31 GMT+02:00 José Lorenzo jose@gmail.com: 
  Same as in cake 2, you add the AssetsFilter to the dispatcher and put 
 your 
  files in the plugin's webroot folder 
  
  On Thursday, October 2, 2014 4:29:50 PM UTC+2, Radharadhya Dasa wrote: 
  
  Hi, 
  
  How should I load a css file from a plugin on cake 3.0? I would like to 
  let the plugin to laod its css file automatically if it is installed. 
  
  rrd 
  
  -- 
  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. 


-- 
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 load css from plugin

2014-10-03 Thread Radharadhya Dasa
Sorry, stupid clipboard...

So I added DispatcherFactory::add('Asset'); to my plugins' bootsrap.php file.

What I want to achieve if the user load my plugin the plugin
automatically loads the necessary css, js files and helpers and
components.

My plugin is a helper without a controller.

rrd

2014-10-03 14:35 GMT+02:00 José Lorenzo jose@gmail.com:
 I have no idea what you're talking about. There is no $this object in any
 bootstrap.php file

 To include css files to a page you just add them to your templates using
 $this-Html-css();


 On Friday, October 3, 2014 1:50:14 PM UTC+2, Radharadhya Dasa wrote:

 I added $this-loadComponent('Math'); to my plugins' bootstrap.php
 file but it did not load my css and js files automatically if the
 plugin is installed. I copied the solution from DebugKit but I think
 there should be some easier way than through EventManager.

 Could you give me an example?

 I would like to load helpers and components automatically if the
 plugin is installed, but I did not find a soution for this also. Any
 example would be appreiated.

 rrd

 2014-10-02 21:31 GMT+02:00 José Lorenzo jose@gmail.com:
  Same as in cake 2, you add the AssetsFilter to the dispatcher and put
  your
  files in the plugin's webroot folder
 
  On Thursday, October 2, 2014 4:29:50 PM UTC+2, Radharadhya Dasa wrote:
 
  Hi,
 
  How should I load a css file from a plugin on cake 3.0? I would like to
  let the plugin to laod its css file automatically if it is installed.
 
  rrd
 
  --
  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.

 --
 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.

-- 
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 load css from plugin

2014-10-03 Thread Radharadhya Dasa
Ah I see your answer on stakoverflow. I will try it.

Thank you.

rrd

2014-10-03 14:48 GMT+02:00 Radharadhya Dasa r...@krisna.hu:
 Sorry, stupid clipboard...

 So I added DispatcherFactory::add('Asset'); to my plugins' bootsrap.php file.

 What I want to achieve if the user load my plugin the plugin
 automatically loads the necessary css, js files and helpers and
 components.

 My plugin is a helper without a controller.

 rrd

 2014-10-03 14:35 GMT+02:00 José Lorenzo jose@gmail.com:
 I have no idea what you're talking about. There is no $this object in any
 bootstrap.php file

 To include css files to a page you just add them to your templates using
 $this-Html-css();


 On Friday, October 3, 2014 1:50:14 PM UTC+2, Radharadhya Dasa wrote:

 I added $this-loadComponent('Math'); to my plugins' bootstrap.php
 file but it did not load my css and js files automatically if the
 plugin is installed. I copied the solution from DebugKit but I think
 there should be some easier way than through EventManager.

 Could you give me an example?

 I would like to load helpers and components automatically if the
 plugin is installed, but I did not find a soution for this also. Any
 example would be appreiated.

 rrd

 2014-10-02 21:31 GMT+02:00 José Lorenzo jose@gmail.com:
  Same as in cake 2, you add the AssetsFilter to the dispatcher and put
  your
  files in the plugin's webroot folder
 
  On Thursday, October 2, 2014 4:29:50 PM UTC+2, Radharadhya Dasa wrote:
 
  Hi,
 
  How should I load a css file from a plugin on cake 3.0? I would like to
  let the plugin to laod its css file automatically if it is installed.
 
  rrd
 
  --
  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.

 --
 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.

-- 
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 load css from plugin

2014-10-03 Thread José Lorenzo
My answer there was about how to let composer load the classes for you, not 
about making them available magically everywhere.

Personally I think it is a bad idea to force an app to have some css or 
some helper always loaded. Just tell your users to load your css or 
javascript on demand,
same with the helpers.

On Friday, October 3, 2014 2:54:38 PM UTC+2, Radharadhya Dasa wrote:

 Ah I see your answer on stakoverflow. I will try it. 

 Thank you. 

 rrd 

 2014-10-03 14:48 GMT+02:00 Radharadhya Dasa r...@krisna.hu: 
  Sorry, stupid clipboard... 
  
  So I added DispatcherFactory::add('Asset'); to my plugins' bootsrap.php 
 file. 
  
  What I want to achieve if the user load my plugin the plugin 
  automatically loads the necessary css, js files and helpers and 
  components. 
  
  My plugin is a helper without a controller. 
  
  rrd 
  
  2014-10-03 14:35 GMT+02:00 José Lorenzo jose@gmail.com: 
  I have no idea what you're talking about. There is no $this object in 
 any 
  bootstrap.php file 
  
  To include css files to a page you just add them to your templates 
 using 
  $this-Html-css(); 
  
  
  On Friday, October 3, 2014 1:50:14 PM UTC+2, Radharadhya Dasa wrote: 
  
  I added $this-loadComponent('Math'); to my plugins' bootstrap.php 
  file but it did not load my css and js files automatically if the 
  plugin is installed. I copied the solution from DebugKit but I think 
  there should be some easier way than through EventManager. 
  
  Could you give me an example? 
  
  I would like to load helpers and components automatically if the 
  plugin is installed, but I did not find a soution for this also. Any 
  example would be appreiated. 
  
  rrd 
  
  2014-10-02 21:31 GMT+02:00 José Lorenzo jose@gmail.com: 
   Same as in cake 2, you add the AssetsFilter to the dispatcher and 
 put 
   your 
   files in the plugin's webroot folder 
   
   On Thursday, October 2, 2014 4:29:50 PM UTC+2, Radharadhya Dasa 
 wrote: 
   
   Hi, 
   
   How should I load a css file from a plugin on cake 3.0? I would 
 like to 
   let the plugin to laod its css file automatically if it is 
 installed. 
   
   rrd 
   
   -- 
   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. 
  
  -- 
  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. 


-- 
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 load css from plugin

2014-10-03 Thread Radharadhya Dasa
Thanks.

 Personally I think it is a bad idea to force an app to have some css or some
 helper always loaded. Just tell your users to load your css or javascript on
 demand,
 same with the helpers.

I thought if my plugin could load al the helpers, components, js and
css files for itself, than it would be super easy to install and use.

rrd

-- 
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: Acl check not logged in user accessable url

2014-10-03 Thread John Andersen
Please rephrase your question or show us an example of what you can get and 
describe what you cannot get :)
Enjoy, John

On Monday, 29 September 2014 06:54:57 UTC+3, kani wrote:

 i can get current controller allowed actions but how get all allowed 
 actions from any controller.


-- 
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: report dispaly

2014-10-03 Thread John Andersen
Please clarify what you want to do with CakePHP.
Are you considering developing a survey site?
Enjoy, John

On Wednesday, 1 October 2014 12:13:26 UTC+3, Nizeyimana Eugene wrote:

 Am using cakephp to display my report and i want to display without 
 repetiton (for instance survey may have many questions and answers and its 
 numbers of respondents) for each surveys, using cakephp. And if it help me 
 about graphs such histogram..

 Thx



-- 
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.


saveAssociated (deep) with file upload on deep model - looking for help (everything good except upload)

2014-10-03 Thread BrendonKoz
So I've managed to get saveAssociated to work as intended with option 
'deep' = true, based on the Book's model requirements for this method I 
was able to construct the View properly (took me awhile). As of now, if I 
change the form's file fields to standard text fields, everything works as 
expected and all records are saved. As soon as I change those form fields 
to file fields, it breaks.

I've tried using Miles Johnson's (now deprecated) Uploader plugin without 
success. After that didn't work I am now trying to get Jose Gonzalez's 
Upload plugin to work (github.com/josegonzalez/cakephp-upload). 
Unfortunately I'm coming across the same exact problem.

My primary application is rather large, but due to the issues I've had, I 
created a new project with only the required models and fields needed to 
get a very simple solution working. For that test solution (everything 
working except upload), the following is how it is configured.

MODELS:
Ticket
 - hasMany TicketResponse
TicketResponse
 - belongsTo Ticket
 - hasMany TicketAttachment
TicketAttachment
 - belongsTo TicketResponse

Ticket fields: id, title, created
TicketResponse fields: id, ticket_id, created, content
TicketAttachment fields: id, ticket_response_id, filename, location, 
filesize

Files for Recreation of App (if helpful)
DB schema: http://pastebin.com/XuwSCnHp
Models:
Ticket: http://pastebin.com/xRvU7Hhk
TicketResponse: http://pastebin.com/1CvdA68w
TicketAttachment: http://pastebin.com/xSajRhJD

All of the controllers/views/models were originally created from the cake 
bake template. The only changes were to the models (fixing associations for 
saveAssociated to work, plugin/behavior settings, validation changes), the 
Ticket view add.ctp, and the ticket controller.
Ticket View add.ctp: http://pastebin.com/sSxh7Wps
TicketController.php: http://pastebin.com/2n2jVtpg

(NOTE: The Upload plugin would also need to be downloaded and configured 
(bootstrap.php), and the Session Component and Helper would need to be 
added to AppController as well.
I'm running CakePHP v2.5.3 on this example project. I've upgraded my older 
project from 2.1 in order to try to solve my problems, but nothing seems to 
be working with regard to the upload. :(
Also, I have a CakeLog::write call in the TicketAttachment model file. I 
*believe* the method calling that should be called from the Upload 
behavior, but it's never reached. In fact, I tried a CakeLog::write from 
within the Upload behavior's `setup()` method and it too did not write 
anything to the debug log. I'm stumped. I don't know if the Upload behavior 
just isn't loading properly, or if I've done something else improperly.

After changing the text fields to file upload fields, the form just isn't 
saving, providing only the generic message that the ticket could not be 
saved. Before switching from the Uploader behavior to the Upload behavior, 
when I switched from text to file upload fields I was getting an error that 
a field of type array was an incorrect value (or something along those 
lines), so I *suspect* that the Upload behavior is loaded and instantiated, 
but I do not know how to properly validate this theory.

Any help would be greatly appreciated!

-- 
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: saveAssociated (deep) with file upload on deep model - looking for help (everything good except upload)

2014-10-03 Thread BrendonKoz
Sorry, correction: Currently running CakePHP v2.5.4

-- 
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: saveAssociated (deep) with file upload on deep model - looking for help (everything good except upload)

2014-10-03 Thread BrendonKoz
Just figured out the problem... The rules in my model, created by `cake 
bake`, although exactly what I would have wanted if I was manually 
uploading information and handling the data, don't work with the Upload 
plugin. It causes an error, which in turn doesn't let me upload the file. 
Had I uncommented or set a custom error message to be returned in the 
session, I probably would have figured it out sooner.

I uncommented all of my TicketAttachment model validation rules just to see 
if it would work (it did). I'm going to go back and try adding some back in 
that don't directly relate to the upload process/data. But I won't be 
reporting back on that. For anyone else that may come across this topic - 
you can work a little bit on your own to figure things out too since this 
took me about 3.5 weeks all in total, just for getting files to upload 
through saveAssociated. :D ...upgrading my legacy app from 2.1 to 2.5 is 
not yet complete, so that's another amount of time I'll get to play. :D

Anyway, thanks to any one who looked at this in order to see if I needed 
help (and they thought they might be able to offer some). Thanks!

-- 
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.


add in a field to a array with multiple records

2014-10-03 Thread ajt
There has to be a simple answer but I cant add in a field to a array with 
multiple records . I can do it with a single records but multiple 
records are different. The below code doesnt allow me to save a record. I 
can use another save command and add the records but no extra fields. 

http://book.cakephp.org/2.0/en/models/saving-your-data.html

http://stackoverflow.com/questions/26161251/cant-save-data-from-1-table-to-another-table/26161699#26161699

 if ($this-request-is('post')) {
 $this-Availtmp-create();
 $Availtmp = array('Availtmp' = 
$this-request-data['AvailabilityForTutor']);
 
   $Availtmp[0]['Availtmp']['tutor_id'] = 2; //these fields I 
want to add in
   $Availtmp[1]['Availtmp']['tutor_id'] = 2;
$Availtmp[2]['Availtmp']['tutor_id'] = 2;

 debug($Availtmp) ;

   
 if ($this-Availtmp-saveAll($Availtmp)) {..
 //if 
($this-Availtmp-saveAll($this-request-data['AvailabilityForTutor']) 
){//this works

data
array(
'Availtmp' = array(
(int) 0 = array(
'weekday' = 'Monday',
'start_time' = array(
'hour' = '09',
'min' = '00',
'meridian' = 'am'
),
'end_time' = array(
'hour' = '11',
'min' = '00',
'meridian' = 'pm'
),
'id' = '99'
),
(int) 1 = array(
'weekday' = 'Tuesday',
'start_time' = array(
'hour' = '09',
'min' = '00',
'meridian' = 'am'
),
'end_time' = array(
'hour' = '10',
'min' = '00',
'meridian' = 'pm'
),
'id' = '100'
),
(int) 2 = array(
'weekday' = 'Wednesday',
'start_time' = array(
'hour' = '12',
'min' = '00',
'meridian' = 'am'
),
'end_time' = array(
'hour' = '12',
'min' = '00',
'meridian' = 'am'
),
'id' = '101'
),
(int) 3 = array(
'weekday' = 'Thursday',
'start_time' = array(
'hour' = '12',
'min' = '00',
'meridian' = 'am'
),
'end_time' = array(
'hour' = '12',
'min' = '00',
'meridian' = 'am'
),
'id' = '102'
),
(int) 4 = array(
'weekday' = 'Friday',
'start_time' = array(
'hour' = '12',
'min' = '00',
'meridian' = 'am'
),
'end_time' = array(
'hour' = '12',
'min' = '00',
'meridian' = 'am'
),
'id' = '103'
),
(int) 5 = array(
'weekday' = 'Saturday',
'start_time' = array(
'hour' = '09',
'min' = '00',
'meridian' = 'am'
),
'end_time' = array(
'hour' = '11',
'min' = '00',
'meridian' = 'pm'
),
'id' = '104'
),
(int) 6 = array(
'weekday' = 'Sunday',
'start_time' = array(
'hour' = '12',
'min' = '00',
'meridian' = 'am'
),
'end_time' = array(
'hour' = '12',
'min' = '00',
'meridian' = 'am'
),
'id' = '105'
)
),
(int) 0 = array(
'Availtmp' = array(
'tutor_id' = (int) 2
)
),
(int) 1 = array(
'Availtmp' = array(
'tutor_id' = (int) 2
)
),
(int) 2 = array(
'Availtmp' = array(
'tutor_id' = (int) 2
)
)
)

-- 
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