/** * A factory method to load the appropriate MAX_Dal_Admin class for a * given table name. * * @static * @param string $table The name of the table for which a MAX_Dal_Admin class is * required. * @return MAX_Dal_Common The appropriate MAX_Dal_Common implementaion, * or false on error. */ function factoryDAL($table) { include_once MAX_PATH . '/lib/max/Dal/Common.php'; return MAX_Dal_Common::factory($table); }