[symfony-users] Re: Serialise sfWidgetFormChoice

2011-02-17 Thread wickass
I solved my problem I had to use return unserialize( parent::_get('status') ); because base class uses magic method to return value and caused infinite loop by method calling itself or something like that ;) On Feb 17, 3:53 pm, wickass wrote: > I am using symfony 1.4 in a project

[symfony-users] Re: Netbeans with sudo root permission problem

2011-02-17 Thread wickass
I Had a similar issue long ago When I was working on ubuntu. >From what I remeber I added my user to the www:data group whic solved most of my problems. On Feb 16, 5:31 pm, ereallstaff wrote: > Hi I have an annoying problem develoing application with netbeans > > I am on Ubuntu 10.10 and use net

[symfony-users] Serialise sfWidgetFormChoice

2011-02-17 Thread wickass
I am using symfony 1.4 in a project and i need to store multiple options in a single field . I am using sfWidgetFormChoice Set up loooks like this: $status = Doctrine::getTable('Profile')->getStatuses(); $this->widgetSchema['status'] = new sfWidgetFormChoice(array( 'expanded'=

[symfony-users] Re: How are you would divide your website on Applications and Bundles?

2011-02-12 Thread wickass
Hi Nikita I'm just starting out with Symfony2 and I am trying to figure out something similar at the moment. From what i could make out in the documentation* and also in by going through posts on this list, it would seem that the idea is to not have multiple applications but rather use different n

[symfony-users] [symfony2] init:bundle

2011-02-11 Thread wickass
I just created an new bundle using the console init:bundle command. Works like a charm for setting up a skeleton structure for a new bundle, however I noticed that in the config/ folder it only generated a routing.xml no .php and no .yml. Is there a setting somewhere where I can specify which form

[symfony-users] Re: How to pass single instance of an Object to view

2010-10-12 Thread wickass
$c = __CLASS__; self::$instance = new $c; } return self::$instance; } On Oct 12, 6:19 pm, Richtermeister wrote: > Might just be a typo, but you're calling "getInstance" while the > method you show is called "createInstance".. > >

[symfony-users] How to pass single instance of an Object to view

2010-10-11 Thread wickass
Im trying to pass a single instance of a helper object to the view by making use of "template.filter_parameters" event. However it seems that for every partial the object gets instantiated again, is there a way around this? This is the code that I have in my Pluginconfiguration, Am I just being s