Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
8720 Visualizações

Hi,

I found by tracing that when creating a new object the method view_init is issued. I need know if there is a method that is triggered when the form is opened

Avatar
Cancelar
Melhor resposta

Hi,

there is a method is fields_view_get. Which is triggered when any kind of view is loaded.


Avatar
Cancelar
Autor

Hi Emipro Technologies, Thanks for the reply, I traced it and found it is triggered when loading the form. Now I have bit more queistions : 1. I noticed that the method fields_view_get is called twice, why is that? 2. What is the role of the methods 'view_init' and 'default_get?

It is called 2 time because it loads form and tree view ... trace it again and check view_type variable

Publicações relacionadas Respostas Visualizações Atividade
1
set. 25
238
0
jan. 21
2547
5
jul. 19
5044
1
mai. 16
4006
3
abr. 16
10091