compile_css(); } /** * Compiles the CSS array to a string. * * @access private * @since 2.0 * @return string */ private function compile_css() { $helpers = new Fusion_Dynamic_CSS_Helpers(); return $helpers->parser( self::$styles_array, true ); } /** * Add styles to the $styles_array property. * * @static * @access public * @since 2.0 * @param array $styles An array of styles to add. * @return void */ public static function add_styles_to_array( $styles ) { self::$styles_array = array_merge_recursive( self::$styles_array, $styles ); } } /* Omit closing PHP tag to avoid "Headers already sent" issues. */