|
|||
|
I am trying to set the Doctype of my site in the bootstrapper:
PHP Code:
PHP Code:
What is the correct way to set the doctype in the bootstrap file? |
|
|||
|
Hey notrub225,
I don't have an answer for your question, but I am getting something similar when I attempt to use the placeholder helper in the bootstrap. Code:
Fatal error: Call to a member function placeholder() on a non-object in /var/www/zfApp/library/Bigbadwolf/Common/Application/ZApplication.php on line 89 Sorry, I was not able to help and only offer a, "me too" :-/ |
|
|||
|
Your $viewRenderer->view is returning a Zend_View_Interface Type, which I don't think you can call that specific function.
Please make sure you call the correct object. The function you want is inside Zend_View_Helper directory, but I dun think the function i s attached to the Interface. Last edited by iroy2000 : 03-28-2008 at 08:08 PM. |
|
|||
|
Yes, thank you. For some reason I thought I had to use one of the View objects. Here is the code that worked for me:
PHP Code:
|
|
|||
|
Quote:
PHP Code:
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|