ZF-7388: Not all code samples in quickstart have the <?php
Description
In http://framework.zend.com/docs/quickstart/…
The complete application/models/GuestbookMapper.php code sample does not have the <?php
The same goes to application/models/Guestbook.php
But in the http://framework.zend.com/docs/quickstart/… the application/forms/Guestbook.php has
Although it's trivial it is in a non consistent way.
Comments
Posted by Thomas Weidner (thomas) on 2009-11-18T13:15:30.000+0000
Just as side-note:
<?php is not allowed for code examples. The manual should not have <?php tags at all.
Posted by Matthew Weier O'Phinney (matthew) on 2009-11-20T12:55:38.000+0000
This is resolved for the 1.10 release, when the quickstart will be in the manual itself. In the manual, opening and closing tags are not used unless showing mixed HTML/PHP samples.
Posted by fisharebest (fisharebest) on 2010-02-07T08:08:08.000+0000
<>
In the (ZF1.10) page http://framework.zend.com/manual/en/…
the code for application/layouts/scripts/layout.phtml contains mixed html/php and doesn't have the opening <?php
Posted by Matthew Weier O'Phinney (matthew) on 2010-02-07T10:10:50.000+0000
@fisharebest: this is already corrected in current trunk, and will release with 1.10.1.