/** @return boolean wheather this holds an id. Id's are generally not visible and * numerical ids do not have thousends separators */ function getHoldsId() { $name = $this->getName(); return $name == 'id' || $name == 'oid' || substr($name, -2) == 'Id'; } |