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

Procedural File: actions.php

SOURCE LOCATION:  /dpuniverse/include/actions.php

File Overview

Constants for the action system

Used by the Dpobject::addAction and DpObject::getActions methods.

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.


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

Constants

DP_ACTION_AUTHORIZED_ADMIN  [line 158]
DP_ACTION_AUTHORIZED_ADMIN = 4

The action is restricted to administrator users only

DP_ACTION_AUTHORIZED_ALL  [line 178]
DP_ACTION_AUTHORIZED_ALL = 32

Everybody may try to perform the action

The method that is called may forbid it anyway though.


DP_ACTION_AUTHORIZED_DISABLED  [line 167]
DP_ACTION_AUTHORIZED_GUEST  [line 140]
DP_ACTION_AUTHORIZED_REGISTERED  [line 149]
DP_ACTION_AUTHORIZED_REGISTERED = 2

The action is restricted to registered users only

DP_ACTION_OPERANT_COMPLETE  [line 55]
DP_ACTION_OPERANT_COMPLETE = 4

Action operates on object carrying action menu and on to be given operant

Can be used to ask the user on who or what the action must be performed, for example "give".


DP_ACTION_OPERANT_MENU  [line 34]
DP_ACTION_OPERANT_MENU = 1

Action operates on object carrying action menu

The noun associated with the action verb becomes the object that carries the action in its action menu.


DP_ACTION_OPERANT_NONE  [line 44]
DP_ACTION_OPERANT_NONE = 2

Action has no operant or operant is current living

There is no noun associated with the action verb, for example "laugh".


DP_ACTION_SCOPE_ALL  [line 214]
DP_ACTION_SCOPE_ALL = 8

Action is available to this object, inventory and objects in environment

DP_ACTION_SCOPE_ENVIRONMENT  [line 187]
DP_ACTION_SCOPE_ENVIRONMENT = 1

Action is available to objects in this object's environment only

DP_ACTION_SCOPE_INVENTORY  [line 196]
DP_ACTION_SCOPE_INVENTORY = 2

Action is available to objects in this object's inventory only

DP_ACTION_SCOPE_SELF  [line 205]
DP_ACTION_SCOPE_SELF = 4

Action is available to this object only

DP_ACTION_TARGET_LIVING  [line 90]
DP_ACTION_TARGET_LIVING = 2

Action appears on livings' action menu in this objects environment or inventory

DP_ACTION_TARGET_NONE  [line 131]
DP_ACTION_TARGET_OBJENV  [line 121]
DP_ACTION_TARGET_OBJENV = 16

Action appears on action menu of objects in environment of this object

DP_ACTION_TARGET_OBJINV  [line 111]
DP_ACTION_TARGET_OBJINV = 8

Action appears on action menu of objects in inventory of this object

DP_ACTION_TARGET_SELF  [line 79]
DP_ACTION_TARGET_USER  [line 101]
DP_ACTION_TARGET_USER = 4

Action appears on users' action menu in this objects environment or inventory


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

Click me!
Guest#1784
 
 
 
  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.