The county solicitor, county jailor, county commissioners, county controller, county engineer, county detectives, county treasurer, interpreter of courts, district attorney and his assistants shall severally be paid bi-weekly, semi-monthly, monthly, or quarterly, at the discretion of the county commissioners. They shall be paid the full amount allowed them by law, but all fees and emoluments whatsoever that may accrue to any of them by virtue of his office shall be paid by him to the county treasurer as directed by law, and all other officers shall be paid the amounts assigned them only when the net receipts of their respective offices shall reach the amounts respectively fixed for them.
16 P.S. § 4808