/** * Used by get_child_objects * * @return array of objects */ public function _get_child_objects_type(&$schema_type, &$for_object, $deleted) { $qb = $this->_child_objects_type_qb($schema_type, $for_object, $deleted); if (!$qb) { debug_add('Could not get QB instance', MIDCOM_LOG_ERROR); return false; } // Sort by title and name if available midcom_helper_reflector_tree::add_schema_sorts_to_qb($qb, $schema_type); $objects = $qb->execute(); return $objects; }