Damblan
[ class tree: Damblan ] [ index: Damblan ] [ all elements ]

Class: Damblan_Log_Mail

Source Location: /pearweb-1.1.5/include/Damblan/Log/Mail.php

Class Overview

Log_observer
   |
   --Damblan_Log_Mail

Observer class for logging via email


Author(s):

Version:

  • $Revision: 1.7 $

Methods


Inherited Variables

Inherited Methods


Class Details

[line 34]
Observer class for logging via email
  • Version: $Revision: 1.7 $
  • Extends: Log_observer
  • Author: Martin Jansen <mj@php.net>


[ Top ]


Method Detail

Damblan_Log_Mail (Constructor)   [line 41]

Damblan_Log_Mail Damblan_Log_Mail( )


[ Top ]

log   [line 77]

boolean log( string $text)

Logging method
  • Access: public

Parameters:

string   $text     Log message

[ Top ]

notify   [line 56]

void notify( array $event)

Generate logging email

Parameters:

array   $event     Array containing the log information

[ Top ]

setHeader   [line 103]

void setHeader( string $name, string $value)

Set header line
  • Access: public

Parameters:

string   $name     Name of the header (e.g. "From")
string   $value     Value of the header

[ Top ]

setRecipients   [line 90]

void setRecipients( string $r)

Set mail recipients
  • Access: public

Parameters:

string   $r     Recipients

[ Top ]


Documentation generated on Sat, 06 Jan 2007 00:32:06 -0500 by phpDocumentor 1.3.0. PEAR Logo Copyright © PHP Group 2004.