You are here

function Letter_Constraint::_charIsValid in Password Policy 5

Overrides Character_Constraint::_charIsValid

2 calls to Letter_Constraint::_charIsValid()
Lowercase_Constraint::_charIsValid in constraints/constraint_lowercase.php
Uppercase_Constraint::_charIsValid in constraints/constraint_uppercase.php
2 methods override Letter_Constraint::_charIsValid()
Lowercase_Constraint::_charIsValid in constraints/constraint_lowercase.php
Uppercase_Constraint::_charIsValid in constraints/constraint_uppercase.php

File

constraints/constraint_letter.php, line 7

Class

Letter_Constraint

Code

function _charIsValid($character) {
  return parent::_charIsValid($character) && ctype_alpha($character);
}