Friday, January 1, 2010

Re: Hi

In your application configuration - the core.php file, set the debug
configuration as:

Configure::write('debug', 0);

Enjoy,
John

On Jan 1, 9:28 am, Saran <d.t.sarava...@gmail.com> wrote:
> I raise my question first:
>
> How to remove the query table that is below of all my page, it shows
> some query and "  Nr       Query   Error   Affected        Num. rows       Took (ms)" like
> that.
> I built my first blog application and i was wondering how to remove
> the below table,
>
> I am very new to cakePHP, but I know my question is very easy.
> I didn't know the correct name of it, i searched for "default remove
> table query" and similars but no help.
>
> can you help me?
>
> Saran

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Re: find method fetching all ids in single query

yeah thanks,

this method is the same i found after few hours posting this question

mike karthauser wrote:
>
>
> On 1 Jan 2010, at 12:56, engine wrote:
>
>>
>> I am putting this in straight forward and simple manner
>>
>> How to get the number of rows that corresponds to number of ids in a
>> single
>> $this->Model->find() query
>>
>> i mean i have one array of ids say
>> $list = array('0 => 125, 2 => 145, 3 => 458, ......so one) the second
>> parameter in this array is id from model table how can i fetch all of
>> them
>> in single find query. I have tried to use OR condition but that doesnt
>> allow
>> me to enter above array.
>
>
> i would hazard you just need
>
> array(
> "Model.id" => $list
> )
>
> where $list is your array.
>
> look at
> http://book.cakephp.org/view/74/Complex-Find-Conditions
>
> which should help.
>
>
> --
> Mike Karthäuser
> Managing Director - Brightstorm Ltd
> Email: mikek@brightstorm.co.uk
> Web: http://www.brightstorm.co.uk
> Tel: 07939 252144
> Address: 1 Brewery Court, North Street, Bristol, BS3 1JS
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php?hl=en
>
>


-----
http://www.libmaker.com/ sell books online | http://www.milestree.com/
Web/tech
news | http://www.hiclicks.com/ seo and usability service
--
View this message in context: http://old.nabble.com/find-method-fetching-all-ids-in-single-query-tp26985219p26985880.html
Sent from the CakePHP mailing list archive at Nabble.com.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Re: Out of office reply

David,

I removed the account last night, 13 more days of that would drive me insane.

-- 
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access  public
*/ 


On Fri, Jan 1, 2010 at 3:20 AM, David Roda <davidcroda@gmail.com> wrote:
Wow... this is really getting annoying

On 12/31/2009 10:40 PM, jim@citadelsecure.com wrote:
> Hi,
>
> I am out the office until the 14th of January.  If you require urgent assistance then please contact pete@citadelsecure.com or call him on 07890 592198 - otherwise I will answer your email on my return.
>
> Regards
>
> Jim
>
>
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en


Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
 
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Re: find method fetching all ids in single query


On 1 Jan 2010, at 12:56, engine wrote:


I am putting this in straight forward and simple manner

How to get the number of rows that corresponds to number of ids in a single
$this->Model->find() query

i mean i have one array of ids say
$list = array('0 => 125, 2 => 145, 3 => 458, ......so one) the second
parameter in this array is id from model table how can i fetch all of them
in single find query. I have tried to use OR condition but that doesnt allow
me to enter above array.

i would hazard you just need

array( 	"Model.id" => $list )

where $list is your array.


-- 
Mike Karthäuser
Managing Director - Brightstorm Ltd 
Email: mikek@brightstorm.co.uk 
Web: http://www.brightstorm.co.uk 
Tel: 07939 252144
Address: 1 Brewery Court, North Street, Bristol, BS3 1JS

find method fetching all ids in single query

I am putting this in straight forward and simple manner

How to get the number of rows that corresponds to number of ids in a single
$this->Model->find() query

i mean i have one array of ids say
$list = array('0 => 125, 2 => 145, 3 => 458, ......so one) the second
parameter in this array is id from model table how can i fetch all of them
in single find query. I have tried to use OR condition but that doesnt allow
me to enter above array.

-----
http://www.libmaker.com/ sell books online | http://www.milestree.com/
Web/tech
news | http://www.hiclicks.com/ seo and usability service
--
View this message in context: http://old.nabble.com/find-method-fetching-all-ids-in-single-query-tp26985219p26985219.html
Sent from the CakePHP mailing list archive at Nabble.com.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Re: UML

I like http://creately.com

On 31 Dez. 2009, 19:30, Josh <joshs.silver...@gmail.com> wrote:
> thanks
>
> On Dec 31, 12:17 am, Abdul Rahman Riza <abdulrahmanr...@gmail.com>
> wrote:
>
> > try Umbrello
>
> > 2009/12/31 Josh <joshs.silver...@gmail.com>
>
> > > Does anybody have a recommendation for a good UML tool? Do many of you
> > > make UML diagrams of your more complex web apps?
>
> > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp others
> > > with their CakePHP related questions.
>
> > > You received this message because you are subscribed to the Google Groups
> > > "CakePHP" group.
> > > To post to this group, send email to cake-php@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > cake-php+unsubscribe@googlegroups.com<cake-php%2Bunsubscr...@googlegroups.c om>For more options, visit this group at
> > >http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Re: Out of office reply

Wow... this is really getting annoying

On 12/31/2009 10:40 PM, jim@citadelsecure.com wrote:
> Hi,
>
> I am out the office until the 14th of January. If you require urgent assistance then please contact pete@citadelsecure.com or call him on 07890 592198 - otherwise I will answer your email on my return.
>
> Regards
>
> Jim
>
>
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en