/** * Checks a given value to make sure it's an string and has a non-zero length * @param mixed $val The value to check. * @access public * @return boolean TRUE, if the value is an string; FALSE if it is not. **/ function check($val) { return parent::check($val) && strlen($val) > 0; }