=') ) ) { require( AVIA_PHP.'class-superobject.php' ); } /** * Include Backend default Function set * Loads the autoincluder function to be able to retrieve the * predefined page options and to be able to include * files based on option arrays * */ require( AVIA_PHP.'function-set-avia-backend.php' ); /* * ------------------------------------------------------ * Load the options array with manually passed functions * in functions.php for theme or plugin specific scripts * ------------------------------------------------------ */ if(isset($avia_autoload) && is_array($avia_autoload)) avia_backend_load_scripts_by_option($avia_autoload); /* * ------------------------------------------------------ * Filter the base data array that is passed * upon creation of the superobject * ------------------------------------------------------ */ $avia_base_data = apply_filters( 'avia_filter_base_data', $avia_base_data ); /** * ------------------------------------------------------ * create a new superobject, pass the options name that * should be used to save and retrieve database entries * ------------------------------------------------------ */ $avia = new avia_superobject($avia_base_data); // ------------------------------------------------------------------------