On 25.02.2009, at 10:16, Liutauras wrote:
Hi again,i used execution container to get rendered email output. With translation and replacements of key value pairs. This is how i made: $e = new AgaviExecutionContainer(); $e->initialize($this->context);$e- >setRequestData($rd_new_with_key_value_pairs_for_replacements_in_tpl);$e->setOutputType($this->container->getOutputType()); $e->setActionName('Auth.ForgotPass'); $e->setModuleName('Mailer'); $html = $e->execute(); $html = $e->getResponse()->getContent(); // print_r_($html);this code is ok for development or this code isnt very clear/ redundant?
AgaviController::createExecutionContainer()... or AgaviExecutionContainer::createExecutionContainer(), which passes options from that container to the new one as default values.
- David
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
