[ Index ]
 

Code source de b2evolution 2.1.0-beta

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/blogs/plugins/ -> _generic_ping.plugin.php (sommaire)

This file implements the generic_ping_plugin. This file is part of the evoCore framework - {@link http://evocore.net/} See also {@link http://sourceforge.net/projects/evocms/}.

Author: blueyed: Daniel HAHLER
Copyright: (c)2003-2007 by Francois PLANQUE - {@link http://fplanque.net/}
Version: $Id: _generic_ping.plugin.php,v 1.7 2007/06/16 20:23:21 blueyed Exp $
Poids: 244 lignes (7 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

generic_ping_plugin:: (6 méthodes):
  PluginInit()
  GetDefaultSettings()
  BeforeEnable()
  PluginSettingsValidateSet()
  parse_ping_url()
  ItemSendPing()


Classe: generic_ping_plugin  - X-Ref

Generic Ping Plugin

PluginInit( & $params )   X-Ref
Init

This gets called after a plugin has been registered/instantiated.

GetDefaultSettings()   X-Ref
Get the settings that the plugin can use.

Those settings are transfered into a Settings member object of the plugin
and can be edited in the backoffice (Settings / Plugins).

return: array

BeforeEnable()   X-Ref
Check ping service URL and plugin code.


PluginSettingsValidateSet( & $params )   X-Ref
Check ping service URL.


parse_ping_url( $url )   X-Ref
Parse a given ping service URL

return: false|array False in case of error, array with keys 'host', 'port', 'path' otherwise

ItemSendPing( & $params )   X-Ref
Send a ping to the configured service.




Généré le : Thu Nov 29 23:58:50 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics