Class TxtFileLoaderStrategy

Description

Strategy pattern for loading a Rule from a text file.

Strategy pattern for loading a Rule from a text file.

Located in /strategy/Txtfileloaderstrategy.php (line 7)

RuleContextLoaderStrategy
   |
   --TxtFileLoaderStrategy
Variable Summary
mixed $rule
mixed $ruleContext
Method Summary
TxtFileLoaderStrategy TxtFileLoaderStrategy ()
void getRuleElementValue ( $tokens,  $args)
void loadRuleContext ( $fileName,  $id)
void processRuleContextStatement ( $tokens,  $args)
Variables
mixed $rule (line 9)
  • access: public
mixed $ruleContext (line 10)
  • access: public
Methods
Constructor TxtFileLoaderStrategy (line 12)
  • access: public
TxtFileLoaderStrategy TxtFileLoaderStrategy ()
getRuleElementValue (line 31)
  • access: protected
void getRuleElementValue ( $tokens,  $args)
  • $tokens
  • $args

Redefinition of:
RuleContextLoaderStrategy::getRuleElementValue()
loadRuleContext (line 16)
  • access: public
void loadRuleContext ( $fileName,  $id)
  • $fileName
  • $id

Redefinition of:
RuleContextLoaderStrategy::loadRuleContext()
processRuleContextStatement (line 35)
  • access: protected
void processRuleContextStatement ( $tokens,  $args)
  • $tokens
  • $args

Redefinition of:
RuleContextLoaderStrategy::processRuleContextStatement()

Inherited Methods

Inherited From RuleContextLoaderStrategy

RuleContextLoaderStrategy::RuleContextLoaderStrategy()
RuleContextLoaderStrategy::getRuleElementValue()
RuleContextLoaderStrategy::getStatements()
RuleContextLoaderStrategy::isCommentStatement()
RuleContextLoaderStrategy::loadRule()
RuleContextLoaderStrategy::loadRuleContext()
RuleContextLoaderStrategy::processOperator()
RuleContextLoaderStrategy::processRuleContextStatement()
RuleContextLoaderStrategy::processRuleStatement()

Documentation generated on Thu, 24 Mar 2011 21:27:43 -0500 by phpDocumentor 1.4.1