protected static function _init($settings) { if (!utils::key_exists(array("table", "class"), $settings)) { die("Active Record: Invalid Configuration"); } self::$tbl_pfx = parent::$tbl_pfx; self::$settings = $settings; self::make_instance(); }