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
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
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.
--
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
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
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::
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.