get_all_classes

	function get_all_classes($section = 'all') {
		$data = [];
		foreach (_class('core_api')->get_classes($section) as $_section => $modules) {
			$i++;
			$section_id = $i;
			$data[$section_id] = [
				'name'	=> $_section,
			];
			foreach ((array)$modules as $module) {
				$i++;
				$module_id = $i;
				$data[$module_id] = [
					'name'		=> $module,
					'link'		=> './?object='.__CLASS__.'&action=get_methods&id='.$_section.'-'.$module,
					'parent_id'	=> $section_id,
				];
			}
		}
		return _class('html')->tree($data, [
			'opened_levels'	=> 1,
			'draggable'		=> false,
		]);
	}