1

Hii...

I have a function something like this...

class Zend_View_Helper_RenderUOList extends Zend_View_Helper_Abstract {

    public function makeUOList($inputArray, $main = true, $id ="", $class="")
    {
      ------
      ------
      ------
      $output .= "<li>" . $value['name'] . "\n";
      $output .=  makeUOList($value, false, '', '');
      $output .= "</li>\n";

and I am trying to call the same function within the function and I am getting a error message as Fatal error: Call to undefined function makeUOList() in C:\dev\workspaces\adxweb\library\Zend\View\Helper\RenderUOList.php on line 99

Any help where I am going wrong... thanx in advance.

2 Answers 2

6

Maybe because it's class method? :)

$this->makeUOList...

Sign up to request clarification or add additional context in comments.

Comments

1

Zend has a view helper for generating ordered and unordered lists, take a look at Zend_View_Helper_HtmlList.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.