/**
  * List distinct enumerations names given a enumerationId of category
  */
 public function listAction()
 {
     $rows = array();
     $category = $this->_getParam("category");
     $enumerationsClosure = new EnumerationsClosure();
     $parents = $enumerationsClosure->getAllParentsByCategory($category);
     foreach ($parents as $child) {
         $tmp = array();
         $tmp['id'] = $child['enumerationId'];
         $tmp['data'][] = $child['name'];
         $rows[] = $tmp;
     }
     $json = Zend_Controller_Action_HelperBroker::getStaticHelper('json');
     $json->suppressExit = true;
     $json->direct(array('rows' => $rows));
 }