projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f85821a
)
MailTemplateList.php
author
Edward
<edward@roojs.com>
Wed, 19 Feb 2014 06:30:56 +0000
(14:30 +0800)
committer
Edward
<edward@roojs.com>
Wed, 19 Feb 2014 06:30:56 +0000
(14:30 +0800)
MailTemplateList.php
patch
|
blob
|
history
diff --git
a/MailTemplateList.php
b/MailTemplateList.php
index
dfaf8e3
..
1af3d38
100644
(file)
--- a/
MailTemplateList.php
+++ b/
MailTemplateList.php
@@
-1,17
+1,22
@@
<?php
<?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');
+ }
+
+}