symfony1
Setting default attribute to form select
I triedthis this solution, but it seams not to work in Symfony 1.4. Has something changed? How do I add selected attribute to the form select?[详细]
2023-04-06 04:19 分类:问答* @method Users setGroups() Sets the current record's "Groups" collection
I would like set null in all fields in one user. If this is simple fields, for example: * @method UserssetNumber()Sets the current record\'s \"number\" value[详细]
2023-04-06 04:00 分类:问答how to auto logout using $_SESSION or js timer?
i read up on the topic but have no idea where to start what will the first step be? i have this code that gets called first: rclayout.php[详细]
2023-04-06 03:24 分类:问答include file in action.class.php ? symfony
i have library in file Example.php. I would like this include for action.class.php. How can i 开发者_如何学Cmake this?[详细]
2023-04-06 01:52 分类:问答Why does Doctrine say it can't find the PDO driver?
I tried Symfony 2 today and I tried to play a bit with开发者_C百科 Doctrine. But when I use the command php app/console doctrine:schema:create in the command line, it returns this error:[详细]
2023-04-06 00:27 分类:问答how compare two validators for one field?
I must use two validator for one fields: $this->setVa开发者_运维问答lidator(\'number\', new sfValidatorDoctrineUnique([详细]
2023-04-05 19:49 分类:问答Remembering data when redirecting
I have an app in Symfony which generates many messages. Each action in the module can generate a message(s) stored in array. Last added messages should be displayed in any view (so I\'m calling the fu[详细]
2023-04-05 15:59 分类:问答Extend / Customize a doctrine's entity repository in Symfony
I need help with doctrine in Symfony,开发者_运维问答 I\'d like to extend/customize an entity repository... so I made a class in the Repository folder of the bundle (which didn\'t exist) but I don\'t k[详细]
2023-04-05 14:15 分类:问答adding a hook in symfony for code to be executed after the page has been rendered
i\'m interested in building page statistics based on the same code the sfWebDebugPanel* use. the problem is when i use it in the filter pre execution, i can\'t get the count of SQL queries cause none[详细]
2023-04-05 13:05 分类:问答How to redirect to same page when change the user culture
On symfony 1.2.8 i m stuck to redirect to same page when change the user culture. that mean if user change the culture from the some action its should go back to the same action instead of going to th[详细]
2023-04-05 12:14 分类:问答