Login   Register  
PHP Classes
elePHPant
Icontem

File: examples/intercepting/tets.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of jstar88  >  Editable  >  examples/intercepting/tets.php  >  Download  
File: examples/intercepting/tets.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Editable
Add functions and variables dynamically to objects
Author: By
Last change:
Date: 11 months ago
Size: 205 bytes
 

Contents

Class file image Download
<?php
include("../../Editable.php");
include(
"B.php");


$authorize = function()
{
    echo 
"authorizing..<br>";  
};

$f = new B();
$f->interceptFunction(array($f,"action"),$authorize);
$f->action();


?>