Quickform
Forward compatible fork of HTML_QuickForm
Install / Use
/learn @openpsa/QuickformREADME
quickform
Forward compatible fork of HTML_QuickForm
This package is intended mainly as a drop-in replacement for existing installations of HTML_Quickform. See http://pear.php.net/manual/en/package.html.html-quickform.php for documentation.
The main differences to the original package are:
- Compatible with PHP 5.4 and newer: It will run without producing warnings or deprecated notices
- No PEAR dependencies:
HTML_Commonis replaced by a bundled version, andPEAR_Errors are replaced by exceptions - Support for Composer autoloading: All
includestatements have been removed in favor of classmap autoloading - Upon popular request,
HTML_QuickForm_Renderer_Tablelesshas been included and is available out of the box (PHP only, you need to supply your own stylesheet)
API Compatibility
-
Some calls are listed in the PEAR documentation as static, but making them statically callable without warnings would require significant rewrites and might break other use cases. So if you get errors about assuming
$thisfrom an incompatible context, just change your calls to nonstatic ones. -
HTML_QuickForm_Renderer::renderHiddenhas a slightly changed signature and takes three arguments now:&$element, $required, $error, exactly likeHTML_QuickForm_Renderer::renderElement. This means it is now possible to render validation errors on hidden fields, which is useful for example for CSRF fields. Custom renderer implementations need to add the two arguments to the method's signature, but actual implementations do not need to be changed.
Related Skills
node-connect
350.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
