This is the mix-in class for NLPIProduct and gets imported on startup of Zope.
Parent classes:
Operations:public Znlpiaux_addNLPI (Adjusts properties and the icl file name when a NLPI product gets added.
self in object ,
REQUEST in object ,
PARENTS in list )
Parameters:
public Znlpiaux_actualize (Znlpi_manager.py
self in object ,
REQUEST in object ,
PARENTS in list )
Actualize a resource given by refSymbol and return the html ouput generated by the actualizing methods.
Parameters:
public Znlpiaux_actualizeThis (Znlpi_manager.py
self in object ,
REQUEST in object ,
PARENTS in list ,
refSymbol in string )
Actualize a resource given by explicitely given refSymbol and return the html ouput generated by the actualizing methods.
Parameters:
public Znlpiaux_outputOfActualize (Znlpi_manager.py
self in object ,
REQUEST in object ,
PARENTS in list )
Print just the output of the last actualizing action.
Parameters:
public Znlpiaux_ageResource (Znlpi_manager.py
self in object ,
REQUEST in object ,
PARENTS in list ,
refSymbol in string )
Age a resource given by refSymbol in the current instance.
Parameters:
public Znlpiaux_getParentURL (Znlpi_utilities.py
self in object ,
PARENTS in list )
Reutrns the relative path to the nearest parent NLPI class instance susing getParentNLPI
Parameters:
public Znlpi_iclRead (Read in inform sources and extract objects into the persistent object store.
self in object ,
REQUEST in object ,
PARENTS in list )
Parameters:
public Znlpi_infObjRead (Znlpi_infObj.py
self in object ,
REQUEST in object ,
PARENTS in list )
Read in inform sources and extract objects into the persistent object store.
Parameters:
public Znlpi_getattr (Needed because simple attributes are not available via zope (because of lack of a documentation string).
self in object ,
object in object ,
attribute in string )
return object
! can only call immediate attributes, no inheritance !
Parameters:
public Znlpi_setattr (As above to set attributes.
self in object ,
object in object ,
attribute in string ,
value in object )
Parameters:
public Znlpi_addPicture (Add a picture to the current inform project
self in object ,
REQUEST=None in object ,
PARENTS=None in list )
return list
Returns a list of current pictures to mix into the form.
Parameters:
public Znlpi_managePicture (Remove or change a picture from the current inform project
self in object ,
REQUEST in object ,
PARENTS in list )
Parameters:
public Znlpi_infOutWrite (Writes new icl file and inform sources into var
self in object ,
REQUEST in object ,
PARENTS in list )
Parameters:
public Znlpi_infOutCompile (Invokes the (glulx) inform compiler
self in object ,
REQUEST in object ,
PARENTS in list )
Parameters:
public Znlpi_infOutTextEdit (Invokes your favorite text editor
self in object ,
REQUEST in object ,
PARENTS in list )
Parameters:
public Znlpi_infOutPlay (Invokes any Z-code-interpreter (usually Glulxe)
self in object ,
REQUEST in object ,
PARENTS in list )
Parameters:
public Znlpi_blorbWrite (Writes a blorb file into the var directory
self in object ,
REQUEST in object ,
PARENTS in list )
Parameters:
public Znlpi_downloadGameFile (Returns the filename or the creation date of the game to download
self in object ,
REQUEST in object ,
PARENTS in list ,
What in string )
return string
Parameters:
public Znlpi_setTimeStamp (Sets a time stamp from dtml
self in object ,
PARENTS in list )
Parameters:
public Znlpiaux_ZipMachine_open (Starts a dumb-frotz instance in the Zope tty window.
self in object ,
REQUEST in object ,
PARENTS in list )
Returns when the user quits the game.
Parameters:
public Znlpiaux_ZipOneTurn (Performas one turn on an open ZipMachine.
self in object ,
REQUEST in object ,
PARENTS in list ,
userInput in string ,
terminal=1 in boolean )
If terminal==1 then output is written to the Zope tty window.
Parameters:
public Znlpiaux_ZipLoop_tty (Gives control (in a spawned thread) to a dumb-frotz instance openen by Znlpiaux_ZipMachine_open and returns only if user quits it explicitely.
self in object ,
REQUEST in object ,
PARENTS in list )
Parameters:
public Znlpiaux_ZipWalkthroughForm (Prints the walkthrough for the Znlpidtml_localWalkForm form to change Znlpiprop_ZipWalkthroughPosition.
self in object ,
REQUEST in object ,
PARENTS in list )
Parameters:
public Znlpiaux_ZipWalkthroughChangePosition (Updates the Znlpiprop_ZipWalkthroughPosition property of the caller dtml method.
self in object ,
REQUEST in object ,
PARENTS in list )
Parameters:
public Znlpiaux_ZipWalkthroughSaveRequest (Saves any data in a global request variable. It lives only for the whole duration of the request and redirect process.
self in object ,
REQUEST in object ,
PARENTS in list )
Parameters:
public Znlpiaux_ZipWalkthroughRequest (Get any above value back from the global variable (as long as no second request was done).
self in object ,
symbol in string )
Parameters:
public Znlpiaux_getGlobalVar (This is currently attached to one particular class, Znlpi_ZipMachine. It is used to get the global dumb-frotz status variable.
self in object ,
varString in string )
return undefined
Parameters:
public Znlpiaux_setGlobalVar (Pendant to Znlpiaux_getGlobalVar. Not in use.
self in object ,
varString in string ,
value in undefined )
Parameters:
public Znlpiaux_ZipWalkCheckIn (Save walk data into the local Walk instance.
self in object ,
REQUEST in object ,
PARENTS in list )
Parameters: