Symfony2表单文件夹(Symfony2 Form folder)
我需要创建一个表单类,我正在关注http://symfony.com/doc/current/book/forms.html中的symfony书。
我正在尝试在src / Acme / TaskBundle / Form / Type / TaskType.php中创建一个表单,但是当我查看项目中的文件夹结构时,没有“Form”文件夹。
我尝试手动创建Form文件夹,在src / Acme / TaskBundle /中,我在表单文件夹和TaskType.php文件中遇到错误(名称空间Acme \ TaskBundle \ Form \ Type Expected:Identifier)。
有没有办法以自动方式创建窗体文件夹? 或者我如何手动创建?
I need to create a form class,I'm following the symfony book in http://symfony.com/doc/current/book/forms.html
I am trying to create a form in src/Acme/TaskBundle/Form/Type/TaskType.php, but when I look at the folder structure on my project there is no "Form" folder.
I try to create the Form folder manually, in src/Acme/TaskBundle/, I get an error in the the Form Folder and in the TaskType.php files ( namespace Acme\TaskBundle\Form\Type Expected:Identifier).
Is there a way to create the Form folder in an automatic way? Or how can I create in manually?
原文:https://stackoverflow.com/questions/12343621
满意答案
在这里找到解决方案: 如何创建不同的pendingintent所以filterEquals()返回false?
使用PendingIntent.getBroadcast的第二个参数可以建立唯一的PendingIntent。 不需要一个独特的Action,尽管这是我能找到的其他帖子所建议的。
不确定现在如何关闭这个问题......
Found the solution here: How to create different pendingintent so filterEquals() return false?
Using the second parameter of PendingIntent.getBroadcast works to establish a unique PendingIntent. There is no need for a unique Action, though that is what every other post I could find suggested.
Not sure how to close the question now...
相关问答
更多什么是Android PendingIntent?(What is an Android PendingIntent?)
何时PendingIntent被处置/删除?(When exactly does a PendingIntent get disposed/removed?)
通知上的回调PendingIntent(callback PendingIntent on a notification)
PendingIntent不会调用已杀死进程的BroadcastReceiver(PendingIntent does not invoke BroadcastReceiver of killed process)
使用唯一的requestCode取消PendingIntent(Cancelling a PendingIntent with unique requestCode)
Android:空PendingIntent(Android : Null PendingIntent)
通过PendingIntent调用的活动会自动销毁(Activity called via PendingIntent getting destroyed automatically)
使用sharedPreferenceChange中的pendingIntent重新计划不准确的重复警报(Reschedule inexactRepeating alarm with pendingIntent from sharedPreferenceChange)
独特的PendingIntent with Manifest声明(Unique PendingIntent with Manifest declaration)
PendingIntent不适用于Android O.(PendingIntent is not working on Android O)
相关文章
更多Symfony2网站开发
HTML5 智能form表单新属性
form load 的问题
关于一个页面多个form问题????????
form中如何接收传入的值
ext里window里放form的布局?
在java中如何获取文件夹占用空间的大小?(注意这里不是问文件夹大小)
如何把复选框中的值传到form里?
删除暴风文件夹内的stormliv.exe
ajax怎么提交带文件上传表单
最新问答
更多获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
如何通过引用返回对象?(How is returning an object by reference possible?)
矩阵如何存储在内存中?(How are matrices stored in memory?)
每个请求的Java新会话?(Java New Session For Each Request?)
css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
xcode语法颜色编码解释?(xcode syntax color coding explained?)
在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
Copyright ©2023 peixunduo.com All Rights Reserved.粤ICP备14003112号
本站部分内容来源于互联网,仅供学习和参考使用,请莫用于商业用途。如有侵犯你的版权,请联系我们(neng862121861#163.com),本站将尽快处理。谢谢合作!