How many events does the BaseFieldType provide?
A. 1
B. 2
C. 3
D. 4
Answer: Option C
Solution(By Examveda Team)
BaseFieldType provides three events that you can latch code onto:1. onBeforeSave() : Called right before a field is saved.
2. onAfterSave() : Called right after a field is saved, and $this->model->id is set.
3. onAfterElementSave() : Called right after an element is saved, and $this->element->id is set.
Related Questions on Parsing, Benchmarking and Logging
What is the necessity to create a separate file after having an API key?
A. To hold configuration information
B. To hold key details
C. To hold URL details
D. To hold the speed of the process
What is the purpose of the parameter location?
A. Specifies agent location
B. Specifies speed
C. Specifies browser
D. All of the mentioned
What will happen if the fvonly parameter is set to 1?
A. Results got for the first view
B. Can run the repeat view test
C. Can run the repeat view test
D. None of the mentioned
Join The Discussion