[fw-general] Re: Abstract Factory for custom Validators - options discarded?

2014-04-14 Thread Saeven
I've just found the solution in the source. You have to make your factory implement Zend\ServiceManager\MutableCreationOptionsInterface You can then use whatever it passes to instantiate the "next thing". Feels like an official band-aid hehe, but it works. -- View this message in context: http

[fw-general] Abstract Factory for custom Validators - options discarded?

2014-04-14 Thread Saeven
My goal is to pass custom options to validators, as is done by the ZF2-provided validators. Consider this validator config: In this case, my validator is provided by an abstract factory which is specified in my application's getValidatorConfig(). It seems though, judging by lines 95+ in Abstra

[fw-general] Re: Zend\From 'break_chain_on_failure' when reCaptcha fails

2014-03-24 Thread Saeven
cmple, have you ever solved this? I'm facing the same problem. -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Zend-From-break-chain-on-failure-when-reCaptcha-fails-tp4655250p4661907.html Sent from the Zend Framework mailing list archive at Nabble.com. --

[fw-general] Service Manager: Factory to replace all these invokables?

2013-01-29 Thread Saeven
Hi Everyone. First, thanks for your help. I have a ZF2 build that uses Gearman, all Gearman functions exist in a custom namespace whose classes extend a custom GearmanService parent class (that implements ServiceLocatorAwareInterface). It's a set up I am happy with, I can just drop a class that

Re: [fw-general] Subquery Generation

2009-01-06 Thread Saeven
uery->from( >array('L' => 'sales_opportunity'), >array('L.*', > 'assigned_to_name' => new Zend_Db_Expr($DB->select()->...) > ) >... > > That should allow for the expression to pass through without qu

[fw-general] Subquery Generation

2009-01-05 Thread Saeven
Hi, The following snippet of code is what I intuitively would have thought would solve the requirement of subqueries: $query = Engine::$DB->select(); $query->from( array( 'L' => 'sales_opportunities' ), array( "L.*", "assigned_to_name" => Engine::

[fw-general] Zend_Mail - embed/inline images?

2008-05-23 Thread Saeven
Hi Everyone, Does Zend_Mail have any convenience functions in place to embed images into HTML message content? TIA, Alex -- View this message in context: http://www.nabble.com/Zend_Mail---embed-inline-images--tp17429395p17429395.html Sent from the Zend Framework mailing list archive at Nabble.