Class CSSFontFamilyValidatorRule

Description

a RegexValidatorRule checks a given value against a regular expression

  • copyright: Copyright © 2005, Middlebury College
  • version: $Id: RegexValidatorRule.class.php,v 1.6 2007/09/04 20:25:55 adamfranco Exp $

Located in /harmoni/core/GUIManager/StyleComponents/FontFamilySC.class.php (line 56)

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

Inherited Variables

Inherited from RegexValidatorRule

RegexValidatorRule::$_regex
Methods
Constructor CSSFontFamilyValidatorRule (line 60)
CSSFontFamilyValidatorRule CSSFontFamilyValidatorRule ()
getRule (line 111)

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:23:18 -0400 by phpDocumentor 1.3.0RC3