ZF-4403: Zend_View_Helper_FormFile MAX_FILE_SIZE

Issue Type: Improvement Created: 2008-09-28T11:26:28.000+0000 Last Updated: 2008-10-02T12:14:30.000+0000 Status: Resolved Fix version(s): - 1.6.2 (13/Oct/08)

Reporter: Igor Petrovich (panza) Assignee: Thomas Weidner (thomas) Tags: - Zend_View

Related issues: Attachments:


Currently I have the following code to have this implemented:

<pre class="highlight">
class New_View_Helper_FormFile extends Zend_View_Helper_FormFile
     public function formFile($name, $value = null, $attribs = null)
        $xhtml = parent::formFile($name, $value, $attribs);
        $endTag = ' />';
        if (($this->view instanceof Zend_View_Abstract) && !$this->view->doctype()->isXhtml()) {
            $endTag= '>';
        if (isset($attribs['size']))
            $xhtml .= '

to have MAX_FILE_SIZE implemented. May be it can be implemented into ZF soon.


Posted by Thomas Weidner (thomas) on 2008-10-02T12:14:29.000+0000

New feature MAX_FILE_SIZE implemented. Issue can be closed.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.