public function escape( $value ) {
		$value = (string)$value;

		if( $this->enableBool ) {
			if( $value == '' ) {
				return 'false';
			} elseif( $value == '1' ) {
				return 'true';
			}
		}

		if( $this->enableNumeric && is_numeric($value) ) {
			return (string)$value;
		}

		if( $this->enableAlphaNumeric && is_string($value) && ctype_alnum($value) && !is_numeric($value) ) {
			return (string)$value;
		}

		return var_export($value, true);
	}
public function escape( $value ) {
		$value = (string)$value;

		if( $this->enableBool ) {
			if( $value == '' ) {
				return 'false';
			} elseif( $value == '1' ) {
				return 'true';
			}
		}

		if( $this->enableNumeric && is_numeric($value) ) {
			return (string)$value;
		}

		if( $this->enableAlphaNumeric && is_string($value) && ctype_alnum($value) && !is_numeric($value) ) {
			return (string)$value;
		}

		return var_export($value, true);
	}
public function escape ( $ value ) { $ value = ( string ) $ value ; if ( $ this -> enableBool ) { if ( $ value == '' ) { return 'false' ; } elseif ( $ value == '1' ) { return 'true' ; } } if ( $ this -> enableNumeric && is_numeric ( $ value ) ) { return ( string ) $ value ; } if ( $ this -> enableAlphaNumeric && is_string ( $ value ) && ctype_alnum ( $ value ) && ! is_numeric ( $ value ) ) { return ( string ) $ value ; } return var_export ( $ value , true ) ; }
Escapes Values According to Currently Set Rules

@param mixed $value
@return string
Escapes Values According to Currently Set Rules