/home/techb158/balacoffee.com/wp-content/themes/Divi/includes/builder/module/helpers
NameSizeModeActions
motion/-0755rm
Alignment.php2960644editdlrm
Background.php852400644editdlrm
BackgroundLayout.php43740644editdlrm
Font.php46860644editdlrm
Height.php2760644editdlrm
HoverOptions.php58250644editdlrm
MaxHeight.php2930644editdlrm
MaxWidth.php2890644editdlrm
Media.php17070644editdlrm
MinHeight.php2930644editdlrm
MultiValue.php31890644editdlrm
MultiViewOptions.php652670644editdlrm
OptionTemplate.php219400644editdlrm
Overflow.php17930644editdlrm
Overlay.php22820644editdlrm
ResponsiveOptions.php559860644editdlrm
Sizing.php11690644editdlrm
Slider.php41950644editdlrm
StickyOptions.php89290644editdlrm
StyleProcessor.php124910644editdlrm
TransitionOptions.php29510644editdlrm
Width.php2730644editdlrm
WoocommerceModules.php448880644editdlrm
Edit: /home/techb158/balacoffee.com/wp-content/themes/Divi/includes/builder/module/helpers/MultiValue.php (3189B)
parse( explode( $this->get_delimiter(), $value ), $elements ); } /** * Takes an array and converts it to a valid multi value * Provide the `elements` parameter to get the result string of the necessary length * * @param array $value * @param int $elements * * @return string */ public function to_value( array $value, $elements = null ) { return implode( $this->get_delimiter(), $this->parse( $value, $elements ) ); } /** * Check if the multi value is not empty. * A multi value is empty when all sub values are empty strings * * @param string $value * * @return bool */ public function has_value( $value ) { return trim( implode( '', $this->split( $value ) ) ) !== ''; } /** * Merges two multi values in to one. * If value1 nth element is empty, value2 nth element will be used * * @param $value_1 * @param $value_2 * @param int $elements * * @return string */ public function merge( $value_1, $value_2, $elements = null ) { $v1 = $this->split( $value_1, $elements ); $v2 = $this->split( $value_2, $elements ); $max = max( count( $v1 ), count( $v2 ) ); $new = array(); for ( $i = 0; $i < $max; $i ++ ) { $new[ $i ] = ! isset( $v1[ $i ] ) ? $v2[ $i ] : et_builder_get_or( $v1[ $i ], $v2[ $i ] ); } return $this->to_value( $new, $elements ); } /** * Sets a value at specific position in provided multiValue. * * @param int $key * @param string $value * @param string $motion_value * @param int $elements * * @return string */ public function set( $key, $value, $motion_value, $elements = null ) { $arr = $this->split( $motion_value, $elements ); if ( ! isset( $arr[ $key ] ) ) { return $motion_value; } $arr[ $key ] = $value; return implode( $this->get_delimiter(), $arr ); } }