public static function getter($class, $propertyName)
{
return method_exists($class, "get" . ucfirst($propertyName)) ? "get" . ucfirst($propertyName) : "get" . preg_replace_callback("/([_\\-\\s]?([a-z0-9]+))/", "self::replace_callback", $propertyName);
}