Class DottedPairValidatorRule

Description

The DottedPairValidatorRule checks to see if a string is of a "module.action" dotted-pair format.

  • version: $Id: DottedPairValidatorRule.class.php,v 1.8 2007/09/04 20:25:29 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright © 2005, Middlebury College

Located in /harmoni/core/actionHandler/DottedPairValidatorRule.class.php (line 17)

ValidatorRuleInterface
   |
   --RegexValidatorRule
      |
      --DottedPairValidatorRule
Method Summary
object ValidatorRule getRule ()
Variables

Inherited Variables

Inherited from RegexValidatorRule

RegexValidatorRule::$_regex
Methods
Constructor DottedPairValidatorRule (line 26)

the constructor

  • access: public
void DottedPairValidatorRule ()
getRule (line 43)

This is a static method to return an already-created instance of a validator rule. There are at most about a hundred unique rule objects in use durring any given execution cycle, but rule objects are instantiated hundreds of thousands of times.

This method follows a modified Singleton pattern

  • since: 3/28/05
  • static:
  • access: public
object ValidatorRule getRule ()

Redefinition of:
RegexValidatorRule::getRule()
This is a static method to return an already-created instance of a validator rule. There are at most about a hundred unique rule objects in use durring any given execution cycle, but rule objects are instantiated hundreds of thousands of times.

Inherited Methods

Inherited From RegexValidatorRule

RegexValidatorRule::RegexValidatorRule()
RegexValidatorRule::check()
RegexValidatorRule::generateJavaScript()
RegexValidatorRule::getRegularExpression()
RegexValidatorRule::getRule()
RegexValidatorRule::getRuleByArray()
RegexValidatorRule::getRuleKey()

Inherited From ValidatorRuleInterface

ValidatorRuleInterface::check()
ValidatorRuleInterface::getRule()
ValidatorRuleInterface::getRuleKey()

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