예제 #1
0
파일: Rule.php 프로젝트: natxetee/magento2
 /**
  * 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;
 }