Briefing Zend Knowledge

Which of the following code snippets will you use to accomplish the task?

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?

A.
<?php
$form->setAction(‘/uc/zend.php’)
->setMethod(‘post’);

B.
<?php
echo “<form action=\”/uc/zend.php \” method=POST>”;

C.
<?php
$form->(‘/uc/zend.php’)
->(‘post’);

D.
<?php
$form->Zend::setAction(‘/uc/zend.php’)
->Zend::setMethod(‘post’);

Explanation: