imap_open causes Debugger Error

2009-05-12 Thread Brad V. aka iBspoof
When trying to use imap_open() command with CakePHP either r8120 or r8166 when debug is set to 1 or 2 I get the following error: Fatal error: Class 'Debugger' not found in ../cake/libs/debugger.php on line 169 # TimeMemory FunctionLocation 1 0.1322 1828636 Debugger->hand

Re: implementing keyboard shortcuts

2009-01-29 Thread Brad V. aka iBspoof
MichTex- I have used this before with great success: http://code.google.com/p/js-hotkeys/ Works with jQuery. Brad On Jan 29, 12:18 pm, MichTex wrote: > Has anyone implemented keyboard shortcuts (hotkeys) for CakePHP > applications? I'm looking for real, single-key shortcuts, such as > Gmail a

Re: Loading models within the controller action

2009-01-10 Thread Brad V. aka iBspoof
Miles- Try - App::import('Model', "_insert_model_name"); Brad On Jan 10, 6:08 pm, Miles J wrote: > In one of my controllers, I use nearly 10-15 models. The problem is > that I dont need all these models, each model is respective to a > certain action and loading all these models seems like it

Ldap_source Addition

2008-10-13 Thread Brad V. aka iBspoof
I noticed there wasn't the ability to limit the fields in a hasMany, hasOne, or belongsTo association in LdapSource so I added one. Below is the code to replace generateAssociationQuery(). Make sure your foreign key is within your limited fields if used. function generateAssociationQuery(& $mo