public static function propertiesExist($obj /*, $prop1, $prop2, etc... */){
		
		for($i = 1, $l = \func_num_args() - 1; $i <= $l; ++$i){
			if(!\property_exists($obj, \func_get_arg($i))){
				return false;
			}
		}
		
		return true;
		
	}
public static function propertiesExist($obj /*, $prop1, $prop2, etc... */){
		
		for($i = 1, $l = \func_num_args() - 1; $i <= $l; ++$i){
			if(!\property_exists($obj, \func_get_arg($i))){
				return false;
			}
		}
		
		return true;
		
	}
public static function propertiesExist ( $ obj /*, $prop1, $prop2, etc... */ ) { for ( $ i = 1 , $ l = \ func_num_args ( ) - 1 ; $ i <= $ l ; ++ $ i ) { if ( ! \ property_exists ( $ obj , \ func_get_arg ( $ i ) ) ) { return false ; } } return true ; }
Checks if the given properties exists in the specified object

@param mixed $obj The object to check
@param string $prop1 to check for
@return boolean true if all properties are found, otherwise false
Checks if the given properties exists in the specified object