[ Index ]

PHP Cross Reference of Eventum

title

Body

[close]

/misc/irc/ -> bot.php (summary)

(no description)

File Size: 415 lines (15 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 5 files
 include/class.auth.php
 include/class.user.php
 include/class.lock.php
 include/db_access.php
 include/class.issue.php

Defines 1 class

Eventum_Bot:: (15 methods):
  _isAuthenticated()
  _getEmailByNickname()
  clockUser()
  listClockedInUsers()
  listQuarantinedIssues()
  listAvailableCommands()
  _updateAuthenticatedUser()
  _removeAuthenticatedUser()
  listAuthenticatedUsers()
  authenticate()
  _getChannels()
  _getProjectsForChannel()
  notifyEvents()
  sendResponse()
  _joinChannels()


Class: Eventum_Bot  - X-Ref

_isAuthenticated(&$irc, &$data)   X-Ref
No description

_getEmailByNickname($nickname)   X-Ref
No description

clockUser(&$irc, &$data)   X-Ref
No description

listClockedInUsers(&$irc, &$data)   X-Ref
No description

listQuarantinedIssues(&$irc, &$data)   X-Ref
No description

listAvailableCommands(&$irc, &$data)   X-Ref
No description

_updateAuthenticatedUser(&$irc, &$data)   X-Ref
No description

_removeAuthenticatedUser(&$irc, &$data)   X-Ref
No description

listAuthenticatedUsers(&$irc, &$data)   X-Ref
No description

authenticate(&$irc, &$data)   X-Ref
No description

_getChannels($prj_id)   X-Ref
Helper method to get the list of channels that should be used in the
notifications

param: integer $prj_id The project ID
return: array The list of channels

_getProjectsForChannel($channel)   X-Ref
Helper method to the projects a channel displays messages for.

param: string $channel The name of the channel
return: array The projects displayed in the channel

notifyEvents(&$irc)   X-Ref
Method used as a callback to send notification events to the proper
recipients.

param: resource $irc The IRC connection handle
return: void

sendResponse(&$irc, $target, $response)   X-Ref
Method used to send a message to the given target.

param: resource $irc The IRC connection handle
param: string $target The target for this message
param: string $response The message to send
return: void

_joinChannels(&$irc)   X-Ref
No description



Generated: Wed Dec 19 21:21:33 2007 Cross-referenced by PHPXref 0.7