public function getTypeList() { $arr = array(); foreach ($this->creditType as $value) { $arr[$value['name']] = $value['alias']; } return $arr; }