Skip to content

Commit 1bf7642

Browse files
committed
update README
1 parent 0563f44 commit 1bf7642

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,16 @@ Rebuild your model:
4545

4646
`> ./symfony propel:build --all-classes`
4747

48+
myUser.class.php
49+
----------------
50+
51+
In `myUser.class.php` (frontend and backend application), you have to define the following functions (for the current logged on user):
52+
53+
* getAuthorId() : Author Id,
54+
* getAuthorName() : Author Name,
55+
* getAuthorEmail() : Author Email,
56+
* getAuthorWebsite() : Author Website.
57+
4858
Frontend Usage
4959
-------------
5060

@@ -178,14 +188,8 @@ public function getAuthorEmail()
178188
}
179189
```
180190

181-
and in `myUser.class.php` (for backend application):
182-
183-
* getAuthorId() : Author Id,
184-
* getAuthorName() : Author Name,
185-
* getAuthorEmail() : Author Email,
186-
* getAuthorWebsite() : Author Website.
187-
188191
There are several options you may consider when you enabled Email notification:
192+
189193
* **mail_alert**. This setting used to enabled email notification. Possible values are:
190194
* true: send an email for every posted comment
191195
* moderated: send an email for every automoderated comment

0 commit comments

Comments
 (0)