Revision 795,
340 bytes
checked in by viani, 15 years ago
(diff) |
Ticket #488 - Inclusão do módulo workflow no ramo trunk do repositório Expresso.
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[795] | 1 | <?php |
---|
| 2 | /** |
---|
| 3 | * NanoController |
---|
| 4 | * |
---|
| 5 | * @package NanoAjax |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | class DummyLogger |
---|
| 9 | { |
---|
| 10 | public function add( $entry ) {} |
---|
| 11 | |
---|
| 12 | public function rawAdd( $entry ) {} |
---|
| 13 | } |
---|
| 14 | |
---|
| 15 | class Logger |
---|
| 16 | { |
---|
| 17 | public function add( $entry ) |
---|
| 18 | { |
---|
| 19 | $this->rawAdd( $entry."<br/>\n" ); |
---|
| 20 | } |
---|
| 21 | |
---|
| 22 | public function rawAdd( $entry ) |
---|
| 23 | { |
---|
| 24 | echo $entry; |
---|
| 25 | } |
---|
| 26 | } |
---|
| 27 | |
---|
| 28 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.