ichikaway/xform
最新稳定版本:2.0.0
Composer 安装命令:
composer require ichikaway/xform
包简介
XFormHelper(Plugin) extends cakephp Form helper.
README 文档
README
XFormHelper(Plugin)
extends cakephp Form helper.
On confirmation screen, this helper just show value of post data
instead of making form tags.
On form input screen, this helper behaves same as form helper.
How does this helper know on confirmation screen?
When the confirmation transition, do following 1 or 2.
1. in controller
$this->params['xformHelperConfirmFlag'] = true;
2. in controller or view file
$this->XformHelper->confirmScreenFlag = true;
If you want to mask a password field on confirmation screen,
use password method instead of input method.
If you want to change separator of datetime,
set separator value on the changeDatetimeSeparator property.
Installation
------------
* Copy the files in this directory into app/Plugin/Xform
* load plugin in bootstrap
CakePlugin::load('Xform');
* Include the helper in your controller.php:
var $helpers = array('Form', 'Xform.Xform');
* call method of XformHelper in your view.
echo $this->Xform->input('title');
统计信息
- 总下载量: 14.45k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 18
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-09-12