Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Function nao chamada em lugar nenhum
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Vitao  
View profile   Translate to Translated (View Original)
 More options Nov 10, 8:48 am
From: Vitao <euvent...@gmail.com>
Date: Tue, 10 Nov 2009 11:48:15 -0200
Local: Tues, Nov 10 2009 8:48 am
Subject: Function nao chamada em lugar nenhum

Bom dia galera,

estou com um problema, peguei um projeto em andamento, aonde o programador
antigo abandonou o barco.

vamos ao problema:

no meu MODEL tem a seguinte função

protected function _findSearch($state, $query, $results = array()) {

... {código}

}

Porem eu dei 1 FIND no projeto inteiro, e essa função nao é chamada em lugar
nenhum, porem é executada.

alguem pode me dar uma luz de como eu faço para passar 1 parametro a mais
nessa função. De descobrir aonde ela é chamada?

Att

Victor Ventura


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gabriel Gilini  
View profile   Translate to Translated (View Original)
 More options Nov 10, 9:46 am
From: Gabriel Gilini <gabr...@usosim.com.br>
Date: Tue, 10 Nov 2009 12:46:13 -0200
Local: Tues, Nov 10 2009 9:46 am
Subject: Re: [CakePHP-Tuga] Function nao chamada em lugar nenhum
Tem certeza que não tem em nenhum outro lugar? Dá um find no core do
cake, não sei se já existiu essa função em alguma versão do cake, mas
isso ae tá com cara de overload.

2009/11/10 Vitao <euvent...@gmail.com>:

--
Gabriel Gilini

www.usosim.com.br
gabr...@usosim.com.br


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vitao  
View profile   Translate to Translated (View Original)
 More options Nov 10, 10:33 am
From: Vitao <euvent...@gmail.com>
Date: Tue, 10 Nov 2009 13:33:49 -0200
Local: Tues, Nov 10 2009 10:33 am
Subject: Re: [CakePHP-Tuga] Re: Function nao chamada em lugar nenhum

eu dei um FIND em tudo com o netbeans e com o textpad e nao achou nada.

sera qeu se eu fazer dar pau, ele me mostra aonde esta chamando ?


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vitao  
View profile  
 More options Nov 10, 11:07 am
From: Vitao <euvent...@gmail.com>
Date: Tue, 10 Nov 2009 14:07:00 -0200
Subject: Re: [CakePHP-Tuga] Re: Function nao chamada em lugar nenhum

Grabriel, valeu pela atenção.

é do cake mesmo.. é chamado o libs/model/modelp.hp na linha 1955

desse jeito:

if ($type != 'all') {
            if ($this->_findMethods[$type] === true) {
                $query = $this->{'_find' . ucfirst($type)}('before',
$query);
            }
        }

nunca ia imaginar!

vlw


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rodrigo Rodrigues Moyle  
View profile   Translate to Translated (View Original)
 More options Nov 12, 8:44 pm
From: Rodrigo Rodrigues Moyle <rodrig...@gmail.com>
Date: Thu, 12 Nov 2009 23:44:44 -0200
Local: Thurs, Nov 12 2009 8:44 pm
Subject: Re: [CakePHP-Tuga] Re: Function nao chamada em lugar nenhum

Pra essa função ser executada é só vc usar o método find do model:

find('search', ...)

2009/11/10 Vitao <euvent...@gmail.com>


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
brunosinister  
View profile   Translate to Translated (View Original)
 More options Nov 10, 8:54 am
From: brunosinister <brunosinis...@gmail.com>
Date: Tue, 10 Nov 2009 11:54:11 -0200
Local: Tues, Nov 10 2009 8:54 am
Subject: Re: [CakePHP-Tuga] Function nao chamada em lugar nenhum

verifica se essa  função não é chamada no appController. ou em um component

Bruno Rodrigues de Araujo.

2009/11/10 Vitao <euvent...@gmail.com>


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pedro Barros de Miranda Sobrinho  
View profile   Translate to Translated (View Original)
 More options Nov 10, 10:57 am
From: Pedro Barros de Miranda Sobrinho <pedro...@gmail.com>
Date: Tue, 10 Nov 2009 13:57:58 -0200
Local: Tues, Nov 10 2009 10:57 am
Subject: Re: [CakePHP-Tuga] Re: Function nao chamada em lugar nenhum

Concordo com o Gabriel!
Tem cara de sobrecarga.

Deve estar no model.php

2009/11/10 Vitao <euvent...@gmail.com>


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google