The sheriff or other official in charge of county correctional facilities may, subject to the approval of the board of supervisors, provide for the vocational training and rehabilitation of prisoners confined in the county jail, or any county industrial farm or county or joint county road camp. The sheriff or other official in charge of county correctional facilities may, subject to such approval, enter into an agreement with the governing board of any school district maintaining secondary schools, for the maintenance, by the district, for such prisoners, of adult education classes conducted pursuant to the Education Code.
Ca. Pen. Code § 4018.5