开发者_高级运维Is it possible to capture the output of an action in a task? Ex: FooAction { executeIndexSuccess()
I\'m trying to load data from fixtures jobs.yaml and categories.yaml with this command: $ php symfony doctrine:data-load
In my symfony project i\'m working with doctrine for my data models. Also i have the sfMasterSlavePlugin installed to use different connections for different kinds of queries (writes vs. reads).
if you go to a base class of the model you won\'t find any get or set method. It is because those methods is said are created \"on the air\".
When I try to install the sfGoogleAnalyticsPlugin, (I\'m using symfony 1.3.2), I get the following error:
symfony 1.2, doctrine, dsn: sqlite:%sf_data_dir%/db.sq3 When i am trying \"php symfony dctrine:build-sql\" i get this error, but on frontend all fine.
I want to attribute some tags to some of the objects of my doctrine model. I found sfDoctrineActAsTaggablePlugin which seems to be precisely what I need.
I\'m using Symfony 1.2.7. My web is in several languages, each of one is in a subdomain like en.example.com, es.example.com. If the user enters into example.com, I want to redirect him to his language
I try to add some css attributes to labels in my custom sfForm but I can\'t achieve it. In my custom class myForm extends sfForm, I create all textfields dynamically:
I\'m using symfony 1.4.5, Doctrine 1.2 and Mysql 5. In my schema.yml I have a few Many-to-Many relations which work great. But I need the joining table to have onDelete: CASCADE.