CHips L MINI SHELL

CHips L pro

Current Path : /opt/cpanel/ea-php70/root/usr/share/pear/DB/NestedSet/
Upload File :
Current File : //opt/cpanel/ea-php70/root/usr/share/pear/DB/NestedSet/Event.php

<?php
/**
// +----------------------------------------------------------------------+
// | PEAR :: DB_NestedSet_DB                                                   |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2003 The PHP Group                                |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the PHP license,       |
// | that is bundled with this package in the file LICENSE, and is        |
// | available at through the world-wide-web at                           |
// | http://www.php.net/license/2_02.txt.                                 |
// | If you did not receive a copy of the PHP license and are unable to   |
// | obtain it through the world-wide-web, please send a note to          |
// | license@php.net so we can mail you a copy immediately.               |
// +----------------------------------------------------------------------+
// | Authors: Daniel Khan <dk@webcluster.at>                              |
// +----------------------------------------------------------------------+
//
// $Id: Event.php 164143 2004-07-23 22:20:31Z datenpunk $
//
//
*/

/**
* Poor mans event handler for DB_NestedSet
*
* Mostly for demo purposes or for extending it if
* someone has ideas...
*
* @author       Daniel Khan <dk@webcluster.at>
* @package      DB_NestedSet
* @version      $Revision: 164143 $
* @access       public
*/
Class DB_NestedSetEvent {

    /**
    * Constructor
    *
    * @return void
    */
    function DB_NestedSetEvent() {

    }

    /**
    * Destructor
    *
    * @return void
    */
    function _DB_NestedSetEvent() {

    }


    /**
    * Calls the event handler
    *
    * You may want to do a switch() here and call you methods
    * depending on the event
    *
    * @param    string $event   The Event that occured
    * @param    object node $node A Reference to the node object which was subject to changes
    * @param    array $eparams  A associative array of params which may be needed by the handler
    * @return void
    * @access private
    */
    function callEvent($event, &$node, $eparams = array()) {

        echo "<br>Override callEvent() if you want to have custom event handlers<br>\n";
        echo "Event $event was called with the following params:<br><br>\n";
        echo "<PRE>";
        print_r($eparams);
        echo "</PRE><br>\n";
    }
}
?>

Copyright 2K16 - 2K18 Indonesian Hacker Rulez