This article shall be construed in conformity with the intent as well as the express provisions thereof and shall confer upon the county probation officer, and the county superintendent or governing board, as the case may be, of any 24-hour school that may be created authority to do all those lawful acts which it may deem necessary to promote the prosperity of the school, or to promote the well-being and education of all minors entrusted to its charge.
Ca. Educ. Code § 48601