1.

Which is the method used to process on the input post data before it is saved to the database?(a) prep()(b) settings()(c) defineSettings()(d) prepSettings()

Answer» Right answer is (d) prepSettings()

Easiest explanation: defineSettings() method returns an array whose keys define the setting names, and values define the parameters (the type of value, etc). If you need to do any processing on your settings’ post data before they’re saved to the database’s content table, you can do it with the prepSettings() method.


Discussion

No Comment Found

Related InterviewSolutions