Permalink
Browse files

update README

  • Loading branch information...
1 parent 0563f44 commit 1bf7642ba14e5c734082ff6e2a2270f10eb8b29c @nibsirahsieu committed Aug 23, 2011
Showing with 11 additions and 7 deletions.
  1. +11 −7 README.md
View
@@ -45,6 +45,16 @@ Rebuild your model:
`> ./symfony propel:build --all-classes`
+myUser.class.php
+----------------
+
+In `myUser.class.php` (frontend and backend application), you have to define the following functions (for the current logged on user):
+
+ * getAuthorId() : Author Id,
+ * getAuthorName() : Author Name,
+ * getAuthorEmail() : Author Email,
+ * getAuthorWebsite() : Author Website.
+
Frontend Usage
-------------
@@ -178,14 +188,8 @@ public function getAuthorEmail()
}
```
-and in `myUser.class.php` (for backend application):
-
- * getAuthorId() : Author Id,
- * getAuthorName() : Author Name,
- * getAuthorEmail() : Author Email,
- * getAuthorWebsite() : Author Website.
-
There are several options you may consider when you enabled Email notification:
+
* **mail_alert**. This setting used to enabled email notification. Possible values are:
* true: send an email for every posted comment
* moderated: send an email for every automoderated comment

0 comments on commit 1bf7642

Please sign in to comment.