The board of supervisors and all other county officers shall make the appropriations and perform the duties specified in this chapter with reference to court officers and attaches in the same manner as specified for county or district officers or employees. The deductions provided for in this chapter shall be made from the salaries of such officers or attaches in the same manner as for officers or employees of the county or districts.