HEX
Server: nginx
System: Linux pool195-106-36.bur.atomicsites.net 6.12.57+deb12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1~bpo12+1 (2025-11-17) x86_64
User: (0)
PHP: 8.3.32
Disabled: pcntl_fork
Upload Files
File: //srv/htdocs/wp-content/themes/Divi/includes/builder/module/field/attribute/composite/Parser.php
<?php

/**
 * Parser of additional composite type attributes
 */
class ET_Builder_Module_Field_Attribute_Composite_Parser {
	/**
	 * @param string $type type of composite attribute
	 * @param array  $structure attribute structure, depends on type
	 *
	 * @return array Additional attributes for merging with rest of module attributes
	 */
	public static function parse( $type, $structure ) {
		switch ( $type ) {
			case 'tabbed':
			default:
				require_once ET_BUILDER_DIR . 'module/field/attribute/composite/type/Tabbed.php';
				return ET_Builder_Module_Field_Attribute_Composite_Type_Tabbed::parse( $structure );
		}
	}
}