我想使用 bean 获取 pdf 管理器的 html。我知道如何获取电子邮件模板的 html,但无法获取您在 pdf 管理器中构建的 pdf 模板的 html。
$template = new EmailTemplate();
$template->retrieve_by_string_fields(array(‘name’ => $template_name,’type’=>’email’));
$html=$template->body_html;
当我想从 pdf 管理器获取 html 模板时,如何实现相同的功能?