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

Class: Log_LU

Source Location: /LiveUser-0.14.0/docs/examples/example1/example.php

Class Overview

Log
   |
   --Log_LU

LiveUser observer example.


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 56]
LiveUser observer example.

This class uses the facilities provided by PEAR::Log to create an observer for LiveUser.

There are two ways to define an observer:

  • The class should contain methods with the same names ar the events that can be triggered.
  • when the observer is attached to LiveUser you must define the event => methodName mapping.

  • Return: return is discarded
  • Access: public


[ Top ]


Method Detail

Log_LU (Constructor)   [line 58]

Log_LU Log_LU( [ $name = ''], [ $ident = ''], [ $conf = array()], [ $level = PEAR_LOG_DEBUG])


Parameters:

   $name   — 
   $ident   — 
   $conf   — 
   $level   — 

[ Top ]

onIdled   [line 93]

void onIdled( )


[ Top ]

onLogin   [line 77]

void onLogin( &$obj, [ $params = array()])


Parameters:

   &$obj   — 
   $params   — 

[ Top ]

onLogout   [line 88]

void onLogout( )


[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:00:07 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.