public function checkLength($value)
    {
        if (strlen($value) != 8) {
            $this->setCheck(false);
        } else {
            $this->setCheck(true);
        }

        return parent::checkLength($value);
    }
public function checkLength($value)
    {
        if (strlen($value) != 8) {
            $this->setCheck(false);
        } else {
            $this->setCheck(true);
        }

        return parent::checkLength($value);
    }
public function checkLength ( $ value ) { if ( strlen ( $ value ) != 8 ) { $ this -> setCheck ( false ) ; } else { $ this -> setCheck ( true ) ; } return parent :: checkLength ( $ value ) ; }
Overrides parent checkLength

@param string $value Value
@return boolean
Overrides parent checkLength