Example #1
0
 /**
  * Creates an instance of each available helper and links it into into current mailer.
  *
  * Mailer helpers work as Controller helpers but without the Request context
  */
 public function getHelpers()
 {
     require_once AK_LIB_DIR . DS . 'AkActionView' . DS . 'AkHelperLoader.php';
     $HelperLoader = new AkHelperLoader();
     $HelperLoader->setHandler(&$this);
     return $HelperLoader->getHelpersForMailer();
 }