The vB Geek

Go Back   The vB Geek > Geeki

Module Stages in GARS

From Geeki

Module Stages

A module may be called in a variety of locations and at a variety of stages. Each stage is represented as a folder in geek/gars/mods. For instance, when a thread under GARS control is shown - any of the associated modules in geek/gars/mods/display are run.

Here is a list of each GARS module stage:

  • display - run when the first post in a GARS controlled thread is shown
  • edit - run when the first post in a GARS controlled thread is created or edited
  • persist post - run when the first post in a GARS controlled thread is saved after being edited or created. This is run before the data is actually saved. It is primarily responsible for error checking before the post is saved.
  • persist - run when the first post in a GARS controlled thread is saved after being edited or created. This module stage is run after the post is saved and is responsible for saving any associated data.
  • settings - Run when editing the settings of a module. This module stage is responsible for displaying the admin settings for the module.
  • persistsettings - Run when saving the modules settings. This module stage is responsible for saving any settings for the module.

All times are GMT. The time now is 05:55 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Powered by vbWiki Pro 1.x. Copyright ©2006-2007, NuHit, LLC