MailTemplateList.php
authorEdward <edward@roojs.com>
Wed, 19 Feb 2014 06:30:56 +0000 (14:30 +0800)
committerEdward <edward@roojs.com>
Wed, 19 Feb 2014 06:30:56 +0000 (14:30 +0800)
MailTemplateList.php

index dfaf8e3..1af3d38 100644 (file)
@@ -1,17 +1,22 @@
 <?php
 
-/*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
+require_once 'Pman.php';
 
-/**
- * Description of MailTemplateList
- *
- * @author edward
- */
-class MailTemplateList {
-    //put your code here
-}
+class Pman_Core_MailTemplateList extends Pman
+{
+    function getAuth()
+    {
+        $au = $this->getAuthUser();
+        if (!$au) {
+            die("NOT authenticated");
+        }
+        $this->authUser = $au;
+        return true;
+    }
 
-?>
+    function get()
+    {
+        print_r('run');
+    }
+     
+}