Which of the following functions sets up start and end element handlers?
A. xml_parse_into_struct()
B. xml_parser_create_ns()
C. xml_set_object()
D. xml_set_element_handler()
CORRECT TEXT
Fill in the blank with the appropriate class name. The______ class is used to load files
dynamically.
A. Zend_Loader
Which of the following methods of Zend_XmlRpc_Client can you use to instantiate a server proxy call?
A. call()
B. getLastResponse()
C. getProxy()
D. XMLResponse
Which of the following OOPS design patterns is used to encapsulate a data source so that accessing the data source components becomes hidden within the class that implements the pattern?
A. Registry
B. ActiveRecord
C. Model-view-controller
D. Factory
You want to get the information of total number of documents stored in the index. You also want to include the deleted documents. Which of the following methods will you use to accomplish the task?
A. $search_index::count_document();
B. $search_index::count();
C. $search_index->count();
D. $search_index->docCount();
Which of the following methods is triggered when a dispatched action is done even if apreDispatch() plugin has skipped the action and is mainly useful for cleanup?
A. getRequest()
B. postDispatch()
C. init()
D. getResponse()
Martin works as a Database Administrator for MTech Inc. He designs a database that has a table named Products. He wants to create a report listing different product categories. He does not want to display any duplicate row in the report. Which o f the following SELECT statements will Martin use to create the report?
A. SELECT Product_No, Prod_Category FROM Products;
B. SELECT DISTINCT Product_No, Prod_Category FROM Products;
C. SELECT Product_No, Prod_Category FROM Products GROUP BY Product_No;
D. SELECT Product_No, Prod_Category FROM Products GROUP BY Product_No ORDER BY Product_No;
CORRECT TEXT
Fill in the blank with the appropriate PHP function. The___________ function is used to return the sum of the values of every entry within an array.
A. array_sum()
Which of the following methods can be used t o verify the authentication and ACLs prior to an action?
A. authenticate()
B. getHelper()
C. preDispatch()
D. aunthicate_ACL()
Which of the following is used to provide a tree structure onto which multiple resources can be added?
A. Zend_Acl_Assert_Interface
B. Zend_Acl_Assert
C. Zend_Acl_Role
D. Zend_Acl