[symfony-users] Re: IDE code completion + service container ? (eclipse, netbeans)

2011-05-08 Thread Johannes Heinen
Hi, using Netbeans you might use the magic vdoc mechanism - i tried it out and it worked for me. By typing vdoc and pressing the tabulator key, a phpdoc template is generated that allows you to type-hint variable types at any (!) scope. An example may look like /* @var $em

[symfony-users] Re: Plugin for Multiple Upload

2009-09-02 Thread Johannes Heinen
Wrote this a few weeks ago: http://www.symfony-project.org/plugins/sfWidgetFormInputSWFUploadPlugin I'd be kind and helpful if you'd give it a try and help improve the javascripts/stylesheets for cross browser compatibility (think it works in major browsers = IE6. If you browse the plugin page

[symfony-users] Re: mysqli + doctrine

2009-09-01 Thread Johannes Heinen
On Aug 30, 7:01 pm, Johannes Heinen johannes.hei...@googlemail.com wrote: Aye sorry, i use the latest sf 1.2.x with doctrine 1.1 On Aug 30, 11:46 am, Johannes Heinen johannes.hei...@googlemail.com wrote: Hello anybody i wonder if and how it is possible to use a mysqli driver

[symfony-users] mysqli + doctrine

2009-08-30 Thread Johannes Heinen
Hello anybody i wonder if and how it is possible to use a mysqli driver within symfony + doctrine. I am working on a standard ubuntu distri using php package (namely 5.2.6.x; configure says with mysqli and raw mysqli support is enabled by default, so says $ php -i(nfo()). The problem is, that

[symfony-users] Re: mysqli + doctrine

2009-08-30 Thread Johannes Heinen
Aye sorry, i use the latest sf 1.2.x with doctrine 1.1 On Aug 30, 11:46 am, Johannes Heinen johannes.hei...@googlemail.com wrote: Hello anybody i wonder if and how it is possible to use a mysqli driver within symfony + doctrine. I am working on a standard ubuntu distri using php package

[symfony-users] Re: Media Library Plugin

2009-08-10 Thread Johannes Heinen
Perhaps you could also take a look at sfFilebasePlugin, its a media library with frontend GUI, drag/drop stuff of files and also a fundamentally new way to deal with your files programmatically by providing a file management layer based on SPL classes. sfFilebasePlugin ships with an swfUpload

[symfony-users] Re: plugins ....

2009-06-30 Thread Johannes Heinen
Hi, to comment only one aspect: anyway, now i wonder... if there would be any sf 1.3 compatible plugins within in a month from 1.3 official release. (to say so: raise your hand those of you who had work / or who is working to upgrade a plugin from 1.1/ 1.2 to 1.3 version )... I think this

[symfony-users] Re: mime type detection

2009-06-24 Thread Johannes Heinen
, 2009 at 8:14 AM, Juampy72 juamp...@gmail.com wrote: Hi Joshi, I have not installed fileinfo on Ubuntu but these instalation instructions should help you through: http://pecl.php.net/package/Fileinfo Cheers, Juan On Jun 23, 2:31 pm, Johannes Heinen johannes.hei...@googlemail.com

[symfony-users] Re: Image Upload safety help

2009-06-23 Thread Johannes Heinen
Hi, fancyupload and swfupload (google shows the urls) are the 2 flash upload scripts i know that can be easily integrated into a form (or can be used without one, though). There are symfony plugins for swfupload, i don't know if one for fancyupload also exists. On of them, the 1.2 plugin, was

[symfony-users] [solved] mime type detection

2009-06-23 Thread Johannes Heinen
for special cases. Cheers, Juan On Jun 22, 8:42 am, Johannes Heinen johannes.hei...@googlemail.com wrote: Hi Juan, this is exactly what i actually trust in, namely that such cases won't occure really often. But i heard about similar problems with microsoft office document formats and so

[symfony-users] Re: Image Upload safety help

2009-06-23 Thread Johannes Heinen
not documented or cross browser checked thanks Kevin On Jun 23, 11:20 am, Johannes Heinen johannes.hei...@googlemail.com wrote: Hi, fancyupload and swfupload (google shows the urls) are the 2 flash upload scripts i know that can be easily integrated into a form (or can be used without one

[symfony-users] Re: mime type detection

2009-06-22 Thread Johannes Heinen
? If so, I guess you can just add an if statement to check if you are against an odt file. I am pretty sure there wont be many other cases like this one. Cheers, Juan Pablo On Jun 20, 11:25 am, Johannes Heinen johannes.hei...@googlemail.com wrote: Sorry, but i thing you did not get

[symfony-users] Re: doctrine errors

2009-06-21 Thread Johannes Heinen
Hey Rajat, could you *please* leave my Thread (its mine, my pecious ;)) and re-open a thread for your issue? Or is this a google database problem - because i had a mime type related question, and you actually want to discuss a doctrine specific issue in the same thread Thanks and a nice

[symfony-users] mime type detection

2009-06-20 Thread Johannes Heinen
Hi all, i am looking for a kind of advanced mime type detection for a yet another symfony assets library plugin. For example, an open office document is simply a zip compressed folder, so it's mime type is detected as application/zip. So man would have to check if a mime type application/zip

[symfony-users] Re: mime type detection

2009-06-20 Thread Johannes Heinen
types, depending on a file's extensions are deposited? greetings de joshi On Jun 20, 4:08 pm, Eno symb...@gmail.com wrote: On Sat, 20 Jun 2009, Johannes Heinen wrote: i am looking for a kind of advanced mime type detection for a yet another symfony assets library plugin. For example, an open

[symfony-users] Re: Doctrine File upload trouble

2009-06-08 Thread Johannes Heinen
It is probably not the best solution for your problem, but if you'd use sfFilebasePlugin which supports a few doctrine based asset management capabilities added to various file handling stuff based on SPL, you could help me to improve the plugin and provide a stable assets manager for sf 1.2 +

[symfony-users] Re: sfDoctrinePlugin/sf1.2

2009-05-25 Thread Johannes Heinen
? ;) Thank you in advance, de joshi On May 19, 1:53 pm, Johannes Heinen johannes.hei...@googlemail.com wrote: :D ok, i have an idea: it *may* be that it works because i store doctrine 1.1 in ./lib/ventor/doctrine, but there is also the origin sfFilebasePlugin under ./lib/vendor/symfony/plugins

[symfony-users] Re: sfDoctrinePlugin/sf1.2

2009-05-19 Thread Johannes Heinen
:) Watch out though - It'll only work with the current record - with Doctrine 1.1 you can also optionally check child records. -Original Message- From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] On Behalf Of Johannes Heinen Sent: 19 May 2009 00:17

[symfony-users] Re: sfDoctrinePlugin/sf1.2

2009-05-19 Thread Johannes Heinen
(as most times^^ ;)). I'll try it out and write a line on how it worked. Thanks :) On May 19, 10:31 am, Johannes Heinen johannes.hei...@googlemail.com wrote: hey:) Sorry for the confusion: I've found out that the doctrine plugin shipped with symfony 1.2 is based on the 1.0 release of doctrine

[symfony-users] Re: sfDoctrinePlugin/sf1.2

2009-05-19 Thread Johannes Heinen
Of Johannes Heinen Sent: 19 May 2009 10:40 To: symfony users Subject: [symfony-users] Re: sfDoctrinePlugin/sf1.2 Hey again, i've found this link: 2 lines to migrate the new doctrine 1.1 version into the sf 1.2 release. Perhaps somebody considers it helpful. http://www.symfony-project.org/blog/2009

[symfony-users] Re: sfDoctrinePlugin/sf1.2

2009-05-19 Thread Johannes Heinen
the doctrine 1.1 libraries. I prefer to say never change a running system On May 19, 1:49 pm, Johannes Heinen johannes.hei...@googlemail.com wrote: In this (my) special case it seems to work - but i did not even touch the most complex doctrine possibilities. In my test environment i installed

[symfony-users] sfDoctrinePlugin/sf1.2

2009-05-18 Thread Johannes Heinen
HI all, is there a way to revert changes made to an doctrine object during a transaction? I user the preSave() Hook to do some stuff and set attributes depending on their original values. I don't see any way to retrieve these original values, i'd only found methods to retrieve information about

[symfony-users] Re: sfDoctrinePlugin/sf1.2

2009-05-18 Thread Johannes Heinen
whoho, got it. For the ones who want to know: http://www.doctrine-project.org/documentation/manual/1_1/en/component-overview getModified(true) is the keyword. thanks. On 18 Mai, 18:17, Johannes Heinen johannes.hei...@googlemail.com wrote: HI all, is there a way to revert changes made

[symfony-users] sfValidatorXXXUnique

2009-05-16 Thread Johannes Heinen
Hi all, actually i'm working on extending the symfony file upload capabilities, both for custom forms and the admin-generator. Scenario is: Upload a file, store pathname and hash in database. That works fine with my validator, should be going with sfValidatorFile also by extending the

[symfony-users] Re: Extending sfController

2009-05-11 Thread Johannes Heinen
- in advance. With best regards Johannes Heinen On Apr 16, 1:18 pm, Lee Bolding l...@leesbian.net wrote: Cool. OK, let's address some of your points, and through a few ideas   around :) 1) OK, that's pretty much what I expected. The way I'd handle these   anchor points is with Symfony events. Create

[symfony-users] Re: Extending sfController

2009-04-16 Thread Johannes Heinen
plugins to do   (or maybe that should be, what you DON'T want to allow them to do) If I understand correctly, let me know and I'll throw some ideas your   way :) On 14 Apr 2009, at 18:29, Johannes Heinen wrote: I see... unfortunately it seems to be hard to decouple the mvc-classes from

[symfony-users] Re: Extending sfController

2009-04-14 Thread Johannes Heinen
to see how it is implemented. On Mon, Apr 13, 2009 at 11:45 PM, Johannes Heinen johannes.hei...@googlemail.com wrote: Hi all, i am searching for a kind of best practice in extending sfController. The masterplan is to develop a module system in which an end user can implement a mvc

[symfony-users] Extending sfController

2009-04-13 Thread Johannes Heinen
Johannes Heinen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users

[symfony-users] [sfValdatorDoctrineUnique]

2009-02-26 Thread Johannes Heinen
Hi all, im relatively new to symfony, so i say sorry in advance if my question is not appropriate. I wonder if the related UniqueValidator should be refactored partly to allow explicit mapping of form fields to database-attributes. It drove me crazy to determine which column names to pass -