public function DataTypeList() { // Auth if (!$this->user->PageAuth('dataset')) { return $this->Error(1, 'Access Denied'); } Kit::ClassLoader('dataset'); $dataSet = new DataSet(); return $this->Respond($this->NodeListFromArray($dataSet->GetDataTypes(), 'datatype')); }