/** * Get all possible options for specified class name (customer|product) * * @param string $classFilter * @return array */ public function getAllOptionsForClass($classFilter) { $classes = $this->_taxClass->getCollection()->setClassTypeFilter($classFilter)->toOptionArray(); return $classes; }