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

Class: Net_Monitor_Alert

Source Location: /Net_Monitor-0.3.0/Net/Monitor/Alert.php

Class Overview


class Net_Monitor_Alert


Author(s):

Variables

Methods


Child classes:

Net_Monitor_Alert_Jabber
class Net_Monitor_Alert_Jabber
Net_Monitor_Alert_SMS
Net_Monitor_Alert_SMS
Net_Monitor_Alert_SMTP
Net_Monitor_Alert_SMTP
Net_Monitor_Alert_Growl
class Net_Monitor_Alert_Growl

Inherited Variables

Inherited Methods


Class Details

[line 41]
class Net_Monitor_Alert

This is the generic alert class



[ Top ]


Class Variables

$_alert =  null

[line 57]

The alert object used for sending alerts
  • Access: protected

Type:   object


[ Top ]

$_service =  'Generic'

[line 49]

Defines the name of the service
  • Access: protected

Type:   string


[ Top ]



Method Detail

alert   [line 77]

mixed alert( mixed $server, array $results, [array $options = array()])

function alert

Sends the specified results to the specified server

  • $server is the server to alert
  • $result is the array of results
  • $options is the array of additional options
Does not return a value.

  • Access: public

Overridden in child classes as:

Net_Monitor_Alert_Jabber::alert()
Sends the alerts thru the specified Jabber servers and accounts
Net_Monitor_Alert_SMS::alert()
function alert
Net_Monitor_Alert_SMTP::alert()
function alert
Net_Monitor_Alert_Growl::alert()
Sends the alerts thru the specified Growl server with optional password

Parameters:

mixed   $server   —  Server to alert
array   $results   —  Results array
array   $options   —  Options

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:56:39 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.