jerr("access denied"); } function get() { $c = DB_DataObject::factory('core_enum')->fetchAllByType('comptype'); // array of object.s } }