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 mess开发者_如何学Goage 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.
Maybe because it's class method? :)
$this->makeUOList...
Zend has a view helper for generating ordered and unordered lists, take a look at Zend_View_Helper_HtmlList.
精彩评论