Translation_Entry::merge_with()

最后更新于:2021-11-26 05:07:42

Translation_Entry::merge_with( object$other)

参数

$other

(object) (Required)

源文件

文件: gc-includes/pomo/entry.php

		function merge_with( &$other ) {
			$this->flags      = array_unique( array_merge( $this->flags, $other->flags ) );
			$this->references = array_unique( array_merge( $this->references, $other->references ) );
			if ( $this->extracted_comments != $other->extracted_comments ) {
				$this->extracted_comments .= $other->extracted_comments;
			}

		}