1.

What does the method defineSettings() return?(a) Array of settings name(b) Array of hash key(c) Array of strings(d) Array of objectsThe question was asked in an online quiz.Asked question is from Crafting the Public API topic in section Parsing, Benchmarking and Logging of JavaScript

Answer»

Correct answer is (a) Array of settings name

For explanation: The 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