Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
8506 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

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


Imagine profil
Abandonează
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

Related Posts Răspunsuri Vizualizări Activitate
0
ian. 21
2349
5
iul. 19
4818
1
mai 16
3810
3
apr. 16
9891
0
mar. 15
3442