I am wondering if Zend view variables are available in my view helper class without passing them in directly as parameters
thanks
Luca
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As all view helpers have reference to the view in their
$viewproperty, the answer is yes.What you won’t know from the helper side is which properties are available. It would be better to pass any required properties to the helper at call or construction time.