Weekend Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

Zend 100-500 - Zend Framework Certification

Page: 1 / 6
Total 202 questions

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

Which function is used to take a locale string as a parameter and set a new locale?

A.

setNewLocale()

B.

setLocale()

C.

locale_Set()

D.

newLocale()

Which of the following is the template layer, where all the HTML rendering takes place, and where everything to be displayed to a user is assembled?

A.

Controller

B.

Model

C.

Architecture

D.

View

Which of the following resource objects is used to support Zend_Acl?

A.

No

B.

Multiple

C.

Single

D.

Cyclic

Which of the following code snippets will you use to instantiate Zend_XmlRpc_Server?

A.

$server = Zend_Xml::Zend_XmlRpc_Server()

B.

$server = new Zend_Xml();

C.

$server = new Zend_XmlRpc_Server();

D.

$server = create_new_Zend_XmlRpc_Server()

Which of the following keywords will you use to set the default timezone?

Each correct answer represents a complete solution. Choose all that apply.

A.

date.timezone setting in php.ini

B.

set_default_timezone

C.

set_timezone

D.

date_default_timezone_set()

You have given the following XML data in the tasks.XML file:

Validate data

String Validation

Secure data

Encryption

Now, you run the following PHP script:

$objDOM = new DOMDocument();

$objDOM->load("tasks.xml");

$note = $objDOM->getElementsByTagName("note");

foreach( $note as $value )

{

$tasks = $value->getElementsByTagName("tasks");

$task = $tasks->item(0)->nodeValue;

$details = $value->getElementsByTagName("details");

$detail = $details->item(0)->nodeValue;

echo "$task :: $detail
";

}

?>

What should be displayed when this script is executed?

A.

The contents of the whole XML document

B.

The XML of every tasks and details nodes

C.

The contents of every tasks and details nodes

D.

The XML of whole XML document

Which of the following methods will you use to get the actual set language in Zend_Translate class?

A.

setLocale()

B.

getList()

C.

getLocale()

D.

isAvailable()

Which of the following joins will you use to display data that do not have an exact match in the column?

A.

Self join

B.

Outer join

C.

Equijoin

D.

Non-equijoin

Which of the following keywords will you use to set the default timezone?

Each correct answer represents a complete solution. Choose all that apply.

A.

date.timezone setting in php.ini

B.

set_default_timezone

C.

date_default_timezone_set()

D.

set_timezone