/** * List distinct enumerations names given a enumerationId of category */ public function listAction() { $rows = array(); $parentId = $this->_getParam('parentId'); $method = new NSDRDefinitionMethod(); $methodIterator = $method->getIteratorByParentId($parentId); $rows = $methodIterator->toJsonArray('uuid', array('methodName')); $json = Zend_Controller_Action_HelperBroker::getStaticHelper('json'); $json->suppressExit = true; $json->direct(array('rows' => $rows)); }
public function getMethods() { $method = new NSDRDefinitionMethod(); return $method->getIteratorByParentId($this->uuid); }