[ Index ]
 

Code source de SPIP Agora 1.4

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/Pear/Log/ -> composite.php (sommaire)

$Header: /repository/pear/Log/Log/composite.php,v 1.23 2004/08/09 06:04:11 jon Exp $ $Horde: horde/lib/Log/composite.php,v 1.2 2000/06/28 21:36:13 jon Exp $

Version: $Revision: 1.23 $
Poids: 196 lignes (5 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Log_composite:: (9 méthodes):
  Log_composite()
  open()
  close()
  flush()
  log()
  isComposite()
  setIdent()
  addChild()
  removeChild()


Classe: Log_composite  - X-Ref

The Log_composite:: class implements a Composite pattern which
allows multiple Log implementations to receive the same events.

Log_composite($name = false, $ident = false, $conf = false,$level = PEAR_LOG_DEBUG)   X-Ref
Constructs a new composite Log object.

param: boolean   $name       This parameter is ignored.
param: boolean   $ident      This parameter is ignored.
param: boolean   $conf       This parameter is ignored.
param: boolean   $level      This parameter is ignored.

open()   X-Ref
Opens the child connections.


close()   X-Ref
Closes any child instances.


flush()   X-Ref
Flushes all open child instances.


log($message, $priority = null)   X-Ref
Sends $message and $priority to each child of this composite.

param: mixed     $message    String or object containing the message
param: string    $priority   (optional) The priority of the message.
return: boolean  True if the entry is successfully logged.

isComposite()   X-Ref
Returns true if this is a composite.

return: boolean  True if this is a composite class.

setIdent($ident)   X-Ref
Sets this identification string for all of this composite's children.

param: string    $ident      The new identification string.

addChild(&$child)   X-Ref
Adds a Log instance to the list of children.

param: object    $child      The Log instance to add.
return: boolean  True if the Log instance was successfully added.

removeChild($child)   X-Ref
Removes a Log instance from the list of children.

param: object    $child      The Log instance to remove.
return: boolean  True if the Log instance was successfully removed.



Généré le : Sat Feb 24 14:40:03 2007 par Balluche grâce à PHPXref 0.7