Your browser must have JavaScript enabled in order to view this page.
 >  >
 
Welcome Guest#1824 Login/register    Go to Bottom
Go to Top

Procedural File: events.php

SOURCE LOCATION:  /dpuniverse/include/events.php

File Overview

Constants for the events system

For some events, the event() method is called in objects, if defined. The first argument is the type of event, as defined by the constants in this file. Other arguments depend on the type of event.

DutchPIPE version 0.4; PHP version 5

LICENSE: This source file is subject to version 1.0 of the DutchPIPE license. If you did not receive a copy of the DutchPIPE license, you can obtain one at http://dutchpipe.org/license/1_0.txt or by sending a note to license@dutchpipe.org, in which case you will be mailed a copy immediately.


LINK:  http://dutchpipe.org/manual/package/DutchPIPE
FILESOURCE:  Source Code for this file
VERSION:  Subversion: $Id: events.php 277 2007-08-19 18:15:10Z ls $
LICENSE:  DutchPIPE License
COPYRIGHT:  2006, 2007 Lennert Stock
AUTHOR:  Lennert Stock <ls@dutchpipe.org>

Constants

EVENT_CHANGED_ENV  [line 71]
EVENT_CHANGED_ENV = 4

An object's environment changed

When an objects enters a new environment, the following call takes place in the object: $object->event(EVENT_CHANGED_ENV, $old_environment, $new_environment);


EVENT_DESTROYING_OBJ  [line 83]
EVENT_DESTROYING_OBJ = 5

An object is being destroyed

When an objects is being destroyed, the following call takes place in the object: $object->event(EVENT_DESTROYING_OBJ);


EVENT_ENTERED_ENV  [line 58]
EVENT_ENTERED_ENV = 3

An object entered this object's environment

When an objects enters a new environment, the following call takes place in all objects in the new environment's inventory: $inventory_object->event(EVENT_ENTERED_ENV, $object, $old_environment);


EVENT_ENTERED_INV  [line 46]
EVENT_ENTERED_INV = 2

An object entered this object's inventory

When an objects enters a new environment, the following call takes place: $new_environment->event(EVENT_ENTERED_INV, $object, $old_environment);


EVENT_LEFT_INV  [line 35]
EVENT_LEFT_INV = 1

An object left this object's inventory

When an objects leaves an inventory, the following call takes place: $old_environment->event(EVENT_LEFT_INV, $object, $new_environment);



Documentation generated on Mon, 03 Sep 2007 22:21:32 +0200 by phpDocumentor 1.3.0RC6

Click me!
Guest#1824
 
 
 
  Go to Top
 
 
Input Field OptionsClose Input Field Go to Top
 
Legal Notices | Copyright © 2006, 2007 Lennert Stock. All rights reserved. Last update: Mon Sep 03 2007, 21:50 CET.