Free ZF-100-500 Exam Braindumps (page: 5)

Page 5 of 33

You want to set the form method in post and action to / uc/zend.php when you are using the Zend_Form class. Which of the following code snippets will you use to accomplish the task?

  1. <?php
    $form->setAction('/uc/zend.php')
    ->setMethod('post');
  2. <?php
    echo "<form action=\"/uc/zend.php \" method=POST>";
  3. <?php
    $form->('/uc/zend.php')
    ->('post');
  4. <?php
    $form->Zend::setAction('/uc/zend.php')
    ->Zend::setMethod('post');

Answer(s): A



In which of the following situations will you use the set_exception_handler() function?

  1. When you want to restore a previously defined exception handler function.
  2. When the try/catch block is unable to catch an exception.
  3. When you want to set a user -defined function to handle errors.
  4. When you want to generate a user -level error/warning/notice message.

Answer(s): B



Which of the following code snippets will you use if you want to connect to a Pop3 server using TLS?

  1. <?php
    $mail = new Zend_Mail_Storage_Pop3(array('host'
    ='example.com', 'user' ='user_name',
    'protocol_used' = 'tls')); ?>
  2. <?php
    $mail = new Zend_Mail_Storag e_Pop3(array('host'
    ='example.com', 'user' ='user_name',
    'connectTo' = 'tls')); ?>
  3. <?php
    $mail = new Zend_Mail_Storage_Pop3(array('host'
    ='example.com', 'user' ='user_name',
    'ssl' = 'tls')); ?>
  4. <?php
    $mail = new Zend_Mail_Storage_Pop3(array('host'
    ='example.com', 'user' ='user_name',
    'protocol_used' = 'ssl/tls')); ?>

Answer(s): C



Which of the following are the configuration files that are used in Zend_Config?

  1. Zend_Config_Server
  2. Zend_Config_Xml
  3. Zend_Config_Db
  4. Zend_Config_Ini

Answer(s): B,D



Page 5 of 33



Post your Comments and Discuss Zend ZF-100-500 exam with other Community members:

leta commented on October 14, 2024
good learning
Anonymous
upvote

Likissa commented on October 14, 2024
Good Questions that makes me get prepared for the Actual PMP EXAM
Anonymous
upvote

Supreet commented on October 13, 2024
Hello manpreet, did all question came from dumps in exams
CANADA
upvote

Jay commented on October 13, 2024
Very helpful for certs
Anonymous
upvote

Asadullah commented on October 13, 2024
Good question but repeated of other sites!
UNITED STATES
upvote