Interface commandEnvironment

interface commandEnvironment {
    autoCreated?: boolean;
    commandManager?: iCommandManager;
    contentLocation?: HTMLElement;
    iBase?: ifBase;
    lastServerResp?: iresponse;
    myself?: any;
    objM?: iObjM;
}

Properties

autoCreated?: boolean

stub used in case that env is not defined by caller and preserve env to be empty

commandManager?: iCommandManager

optional commandManager that raised and manages the command Allows access to the commandManager attributes. but is not necessirly available!

contentLocation?: HTMLElement
iBase?: ifBase

Optional link to the fBase of the caller

lastServerResp?: iresponse

Server response from server - only in case that response status is OK and response contains data Used to send attributes to the list processort

myself?: any

link to the object that called the function Used only in special cases where cooperates objects that know about themself; not specified in detail

Example

clip detail put link to itself when calling command to fill the content Command can access clip attributes
objM?: iObjM

Optional link to the object definition of the caller including langProv