Hi am new to zendframewrok,
In my controller, I have public function with arguments like this
public function ArrayRetrive($array, $todelete)
{
$res='';
if(@array_key_exists($todelete, $array)) {
$res=$array[$todelete];
}
else{
foreach( $array as $key=>$value )
{
if (is_array($array[$key]) && array_key_exists($todelete, $array[$key])) {
$res=$array[$key][$todelete];
}
}
}
return $res;
}
Now i want to access this function in view index.phtml,
I don't know how to do that?am stuck here.
Please help me any one