Start instance of base class, load configuration and establish database connection. Please don't call the constructor direcly, use the singleton pattern instead.
Tests given internal page type name for uniqueness. Takes the
internal page type name as first argument and an optional page type id as second argument. If the page type id is given, this page type won't be considered when checking for uniqueness (useful for updates). Returns boolean true if the internal page type name is unique.
Tests given page type name for uniqueness. Takes the page type name as first argument and an optional page type id as second argument. If the page type id is given, this page type won't be considered when checking for uniqueness (useful for updates).