public function isInt()
  {
    return (is_numeric($this->string) && !$this->contains(".") && !$this->contains("x")) ? TRUE : FALSE;
  }
public function isInt()
  {
    return (is_numeric($this->string) && !$this->contains(".") && !$this->contains("x")) ? TRUE : FALSE;
  }
public function isInt ( ) { return ( is_numeric ( $ this -> string ) && ! $ this -> contains ( "." ) && ! $ this -> contains ( "x" ) ) ? TRUE : FALSE ; }
Returns TRUE if the string is a numeric value.

@return boolean
Returns TRUE if the string is a numeric value .