[fw-general] Re: Zend Framework 1 is now on GitHub

2013-05-03 Thread Colin Guthrie
Hi, I've only just had need to clone this looking for a change made a while ago that I think is causing me trouble and which I need to revert. After cloning I was quite upset to find that the history is not preserved? I've done several svn-git conversions over the years and preserving the

[fw-general] zf2 - one/many-to-many relationships

2013-05-03 Thread tonystamp
What is the best way of performing one/many to many relationships using zf2? For instance, i have a UserMapper that consumes a UserTableGateway to get the data from the user table. I also have a PostsMapper that consumes a PostTableGateway to get data from the posts table. When i load a user, i

Re: [fw-general] Re: Zend Framework 1 is now on GitHub

2013-05-03 Thread Matthew Weier O'Phinney
On Fri, May 3, 2013 at 4:00 AM, Colin Guthrie gm...@colin.guthr.ie wrote: Hi, I've only just had need to clone this looking for a change made a while ago that I think is causing me trouble and which I need to revert. After cloning I was quite upset to find that the history is not preserved?

[fw-general] FilterManager ValidatorManager

2013-05-03 Thread Ralf Eggert
Hi, I really like the idea of the FilterManager ValidatorManager to add custom filters and validators. This can be configured for filters with implementing Zend\ModuleManager\Feature\FilterProviderInterface in my Module.php or using the 'filters' configuration key within my module.config.php

Re: [fw-general] FilterManager ValidatorManager

2013-05-03 Thread Daniel Gimenes
If you use InputFilterManager to construct your InputFilter, then InputFilterManager will inject FilterManager and ValidatorManager in your chains. See https://github.com/zendframework/zf2/blob/master/library/Zend/InputFilter/InputFilterPluginManager.php#L63-64 Cheers, Daniel Gimenes

Re: [fw-general] FilterManager ValidatorManager

2013-05-03 Thread Ralf Eggert
Hi Daniel, Daniel Gimenes schrieb am 03.05.2013 18:09: If you use InputFilterManager to construct your InputFilter, then InputFilterManager will inject FilterManager and ValidatorManager in your chains. See

Re: [fw-general] FilterManager ValidatorManager

2013-05-03 Thread Daniel Gimenes
Ralf, These injections are made after construction, then you need to define your filters/validators in init() method. InputFilterManager will call init() for you after everything is injected. Cheers, Daniel Gimenes twitter.com/danizord http://twitter.com/danizord github.com/danizord

Re: [fw-general] FilterManager ValidatorManager

2013-05-03 Thread David Muir
On 04/05/2013, at 1:58 AM, Ralf Eggert r.egg...@travello.de wrote: Hi, I really like the idea of the FilterManager ValidatorManager to add custom filters and validators. This can be configured for filters with implementing Zend\ModuleManager\Feature\FilterProviderInterface in my