protected function minLength($parameter, $password)
    {
        $len = intval($parameter);
        if ($len && (strlen($password) < $len)) {
            $this->_addError(sprintf($this->translate->_('should be at least %d characters long'), $len));
        }
    }
protected function minLength($parameter, $password)
    {
        $len = intval($parameter);
        if ($len && (strlen($password) < $len)) {
            $this->_addError(sprintf($this->translate->_('should be at least %d characters long'), $len));
        }
    }
protected function minLength ( $ parameter , $ password ) { $ len = intval ( $ parameter ) ; if ( $ len && ( strlen ( $ password ) < $ len ) ) { $ this -> _addError ( sprintf ( $ this -> translate -> _ ( 'should be at least %d characters long' ) , $ len ) ) ; } }
Test the password for minimum length.

@param mixed $parameter
@param string $password
Test the password for minimum length .