The term "units" doesn't work in the Chamilo sense. Please use something more "LP". Like getLearnpathListTable().