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

Class: Interceptor

Source Location: /HTML_AJAX-0.5.7/examples/support/interceptor.php

Class Overview




Methods


Inherited Variables

Inherited Methods


Class Details

[line 2]


[ Top ]


Method Detail

intercept   [line 8]

void intercept( $className, $methodName, $params)

A global interceptor runs all calls not matched by a more specific rule

This example creates a not logged in error


Parameters:

   $className   — 
   $methodName   — 
   $params   — 

[ Top ]

test   [line 20]

void test( $methodName, $params)

A class level interceptor for the test class

This examples sets the first parameter to the method name


Parameters:

   $methodName   — 
   $params   — 

[ Top ]

test_test1   [line 30]

void test_test1( $params)

A method level interceptor for the test::test1 method

This examples sets the first parameter to boink


Parameters:

   $params   — 

[ Top ]


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