public function getProperty($key, &$match = false){
		if(is_array($key)){
			foreach(array_reverse($this->properties) as $property){
				if(in_array($property->getName(), $key)){
					$match = $property->getName();
					return $property;
				}
			}
		}else{
			foreach(array_reverse($this->properties) as $property){
				if($property->getName()==$key){
					$match = $key;
					return $property;
				}
			}
		}
		return false;
	}