Class WLogicRule

Description

Logic Class allows for wizards to be freeform and direct their own progress

  • version: $Id: WLogicRule.class.php,v 1.8 2007/09/19 14:04:51 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright © 2005, Middlebury College
  • since: 5/31/06

Located in /polyphony/main/library/Wizard/Components/WLogicRule.class.php (line 23)


	
			
Variable Summary
Method Summary
WLogicRule WLogicRule ()
void addRequiredStepToRule (string $stepName)
array getRequiredSteps ()
void setRequiredSteps (array $steps)
VOID withSteps (array $steps)
Variables
mixed $_requiredSteps (line 25)
Methods
Constructor WLogicRule (line 30)

Default constructor, added for testing

WLogicRule WLogicRule ()
addRequiredStepToRule (line 79)

adds a required step

  • since: 5/31/06
  • access: public
void addRequiredStepToRule (string $stepName)
  • string $stepName
getRequiredSteps (line 56)

returns an array of the steps required by this rule being fired

  • return: of names of steps that are now required
  • since: 5/31/06
  • access: public
array getRequiredSteps ()
setRequiredSteps (line 67)

returns an array of the steps required by this rule being fired

  • since: 5/31/06
  • access: public
void setRequiredSteps (array $steps)
  • array $steps: of names of steps that are now required
withSteps (line 42)

virtual constructor

  • since: 5/31/06
  • access: public
VOID withSteps (array $steps)
  • array $steps: an array of steps required by this logic

Documentation generated on Wed, 19 Sep 2007 10:28:07 -0400 by phpDocumentor 1.3.0RC3