Sorry for the newbie question. I tried searching this group but ended
up with nothing helpful.
I'm looking forward to using the fingers crossed logging feature of
monolog and I'm wondering what the proper way of getting the logger
from inside a model is.
Thank you.
--
If you want to report a
that will receive a Doctrine_Manager instance and
you can set all attributes you want. You should be able to do what you want
this way.
public function configureDoctrine(Doctrine_Manager $manager)
{
//$manager-setAttribute();
}
2010/10/19 bzarzuela bzarzu...@gmail.com
Hello,
Where do you need
: hermes
password: hermes
attributes:
query_cache: Doctrine_Cache_Apc
--
Pierre-Yves
2010/10/21 bzarzuela bzarzu...@gmail.com
Thanks. I tried this approach before but ended up doing a lot of
conditional statements to handle the different environments my
application has
Hello,
Where do you need to specify attributes for Doctrine in Symfony 1.4?
Line 75 of sfDoctrineDatabase.class.php is what I'm trying to affect.
$attributes = $this-getParameter('attributes', array());
I'm trying to set the query_cache here:
dev:
doctrine:
class: sfDoctrineDatabase
A simple call to $mailer-composeAndSend is driving me nuts.
public function executeTest(sfWebRequest $request)
{
return $this-renderText($this-getMailer()-
composeAndSend('t...@example.com', 'br...@teleserv.ph', 'test',
'test2'));
}
The environment is set to dev and a call to $mailer-