MailTemplateList.php
[Pman.Core] / MailTemplateList.php
1 <?php
2
3 require_once 'Pman.php';
4
5 class Pman_Core_MailTemplateList extends Pman
6 {
7     function getAuth()
8     {
9         $au = $this->getAuthUser();
10         if (!$au) {
11             die("NOT authenticated");
12         }
13         $this->authUser = $au;
14         return true;
15     }
16
17     function get()
18     {
19         $this->jdata(array(array('name' => 'aa', 'body'=> 'test')));
20         $fopts = HTML_FlexyFramework::get()->HTML_Template_Flexy;
21         print_r(array_unique($fopts->templateDir));
22         exit;
23     }
24      
25 }