Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ecus65

Zend 100-500 - Zend Framework Certification

Page: 5 / 6
Total 202 questions

Which of the following methods of Zend_Auth returns TRUE if and only if the result represents a successful authentication attempt?

A.

getIdentity()

B.

getCode()

C.

isValid()

D.

getMessages()

Which of the following is an example of a database connection that needs to be created once at the beginning of a script and then used throughout its code?

A.

ActiveRecord

B.

Factory pattern

C.

Singleton

D.

Model-view-controller

Which component is used to offer an API to manipulate dates and times?

A.

Zend_Date

B.

Zend_Time

C.

Zend_Timezone

D.

Zend_Timestamp

Which method is used to store the cache records into a SQLite database?

A.

Zend_Cache_Backend_Sqlite

B.

Zend_Cache_cache_Sqlite

C.

Zend_Cache_file_ Sqlite

D.

Zend_Cache_read_Sqlite

What will be the output of the following PHP script?

include("xml.inc");

if (!$dom = domxml_open_mem($xmlstr)) {

echo "Error while parsing the XML document\n";

exit;

}

$a = $dom->document_element();

print_r($a);

?>

A.

It will display the root element of the XML file.

B.

It will display the XML code of the XML file.

C.

It will throw an error.

D.

It will display the contents of the XML file.

Which inheritance does Zend_Acl support among Resource objects?

A.

Multiple

B.

It does not support any type of inheritance.

C.

Single

D.

Cyclic

Fill in the blank with the appropriate method name.

The________ method is used to check whether a date is valid or not.

A.

isDate()

Which of the following is an abstract class that is used to provide the basic interface and functionality required by the helper broker?

A.

Zend_Db

B.

Zend_Auth

C.

Zend_Acl

D.

Zend_Controller_Action_Helper_Abstract

All of the following are the basic steps in setting up a multi-lingual site, except for which one?

A.

Create the source file from the code

B.

Manipulate different adapters for translation

C.

Create the View and integrate Zend_Translate into the code

D.

Translate the source file to the desired language

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()