Welcome, Guest Log In

Class Krai_Log_Logger_Email

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Krai_Log_Logger

Krai_Log_Logger::$instance_is_open
Krai_Log_Logger::$messages
Krai_Log_Logger::$needs_reset
Krai_Log_Logger::$parent_logger_instance
Krai_Log_Logger::$queue_mode
Krai_Log_Logger::$thresh
Krai_Log_Logger::$type

Inherited From Krai_Log_Logger

Krai_Log_Logger::__construct()
Constructor
Krai_Log_Logger::Close()
Close the logging instance
Krai_Log_Logger::DisableQueueMode()
Turn off queuing
Krai_Log_Logger::EnableQueueMode()
Turn on queuing
Krai_Log_Logger::Entry()
Log a message
Krai_Log_Logger::FlushMsg()
Flush a message from the log queue
Krai_Log_Logger::FlushQueue()
Flush the log queue
Krai_Log_Logger::GetType()
Get the type of the instance
Krai_Log_Logger::Open()
Open the log instance
Krai_Log_Logger::QueueMsg()
Add a message to the queue
Krai_Log_Logger::Reset()
Reset things
Krai_Log_Logger::SetErrorConditionThresh()
Set If error condition thresh, then what to log
Krai_Log_Logger::SetErrorConditionTriggerThresh()
Set error condition threshold
Krai_Log_Logger::SetMaxQueueSize()
Set the queue size
Krai_Log_Logger::SetThresh()
Set threshold for what to log
Krai_Log_Logger::WriteLog()
Write a message to the syslog

[ Top ]
Property Summary
string   $mailbody   Email content
string   $recipient   Email to
string   $sender   Email from
string   $subject   Email subject

[ Top ]
Method Summary
Krai_Log_Logger_Email   __construct()   Constructor
void   EmailSetRecipient()   Set recipient
void   EmailSetSender()   Set sender
void   EmailSetSubject()   Set subject
boolean   TypeSpecificClose()   Send the mail and clean up
boolean   TypeSpecificOpen()   Initializes the instance
void   TypeSpecificOutputMsg()   Writes a message to the email body
void   TypeSpecificReset()   Doesnt do anything

[ Top ]
Properties
string   $mailbody [line 42]

Email content

API Tags:
Access:  protected


[ Top ]
string   $recipient [line 24]

Email to

API Tags:
Access:  protected


[ Top ]
string   $sender [line 30]

Email from

API Tags:
Access:  protected


[ Top ]
string   $subject [line 36]

Email subject

API Tags:
Access:  protected


[ Top ]
Methods
Constructor __construct  [line 50]

  Krai_Log_Logger_Email __construct( &$parent_logger_instance, string $parent_application, mixed $parent_logger_instance  )

Constructor

Parameters:
mixed   $parent_logger_instance: 
string   $parent_application: 
   &$parent_logger_instance: 

API Tags:
Access:  public


Redefinition of:
Krai_Log_Logger::__construct()
Constructor

[ Top ]
EmailSetRecipient  [line 64]

  void EmailSetRecipient( string $recipient  )

Set recipient

Parameters:
string   $recipient: 

API Tags:
Access:  public


[ Top ]
EmailSetSender  [line 75]

  void EmailSetSender( string $sender  )

Set sender

Parameters:
string   $sender: 

API Tags:
Access:  public


[ Top ]
EmailSetSubject  [line 86]

  void EmailSetSubject( string $subject  )

Set subject

Parameters:
string   $subject: 

API Tags:
Access:  public


[ Top ]
TypeSpecificClose  [line 127]

  boolean TypeSpecificClose( )

Send the mail and clean up


API Tags:
Access:  public


[ Top ]
TypeSpecificOpen  [line 105]

  boolean TypeSpecificOpen( )

Initializes the instance


API Tags:
Return:  true
Access:  public


[ Top ]
TypeSpecificOutputMsg  [line 116]

  void TypeSpecificOutputMsg( $entry  )

Writes a message to the email body

Parameters:
array   $entry: 

API Tags:
Access:  public


[ Top ]
TypeSpecificReset  [line 96]

  void TypeSpecificReset( )

Doesnt do anything


API Tags:
Access:  public


[ Top ]

Documentation generated on Fri, 25 Jul 2008 15:19:16 -0400 by phpDocumentor 1.4.2
Krai Framework site admin credits sitemap valid xhtml?