public function get_types_for_js() {
		$types = array();
		$names = array();

		foreach ( $this->types as $type ) {
			$types[ $type->id ] = $type->get_props();
			$names[ $type->id ] = $type->name;
		}

		array_multisort( $names, SORT_ASC, $types );

		return $types;
	}
public function get_types_for_js() {
		$types = array();
		$names = array();

		foreach ( $this->types as $type ) {
			$types[ $type->id ] = $type->get_props();
			$names[ $type->id ] = $type->name;
		}

		array_multisort( $names, SORT_ASC, $types );

		return $types;
	}
public function get_types_for_js ( ) { $ types = array ( ) ; $ names = array ( ) ; foreach ( $ this -> types as $ type ) { $ types [ $ type -> id ] = $ type -> get_props ( ) ; $ names [ $ type -> id ] = $ type -> name ; } array_multisort ( $ names , SORT_ASC , $ types ) ; return $ types ; }
Get all icon types for JS

@since  0.1.0
@return array
Get all icon types for JS