/** Check wheather the class name is allowed for polymorphic persistency * @param string $className the class name */ function checkPolyClassName($className) { if (!isSet($this->polyClassesAllowed[$className])) throw new PntReflectionError("Polymorphism class name not allowed: '$className'"); } |