/** * If you enable bean loading graph will load beans if there is an ID in the array. * This is very powerful but can also cause security issues if a user knows how to * manipulate beans and there is no model based ID validation. * * @param boolean $yesNo * * @return void */ public static function enableBeanLoading($yesNo) { self::$loadBeans = $yesNo; }