function smarty_function_widget_about_data($params, $template)
{
    plugins_Autoloader::register();
    $collection = new plugins_about_public();
    $template->assign('about', $collection->getAbout());
    $template->assign('companyData', $collection->getData());
}
예제 #2
0
 /**
  * Titre ou sujet du mail de commande
  * @param $create
  * @return string
  */
 private function setTitleMail($create)
 {
     $about = new plugins_about_public();
     $collection = $about->getData();
     $subject = $create->getConfigVars('subject_mail');
     $website = $collection['name'];
     return sprintf($subject, $website);
 }