Code of Alabama
Chapter 11 - Preliminary Hearings.
Section 15-11-8 - Duty of Court to Examine All Witnesses.

In a preliminary examination, it shall be the duty of the court to examine all witnesses having any knowledge of any facts relevant to such investigation, whether such witnesses were summoned in behalf of the state or of the defendant.