lib/PHPWord/PHPWord/Media.php
public static function getSectionMediaElements($key = null) {
		if(!is_null($key)) {
			return self::$_sectionMedia[$key];
		} else {
			$arrImages = self::$_sectionMedia['images'];
			$arrObjects = self::$_sectionMedia['embeddings'];
			$arrLinks = self::$_sectionMedia['links'];
			return array_merge($arrImages, $arrObjects, $arrLinks);
		}
	}
public static function getSectionMediaElements($key = null) {
		if(!is_null($key)) {
			return self::$_sectionMedia[$key];
		} else {
			$arrImages = self::$_sectionMedia['images'];
			$arrObjects = self::$_sectionMedia['embeddings'];
			$arrLinks = self::$_sectionMedia['links'];
			return array_merge($arrImages, $arrObjects, $arrLinks);
		}
	}
public static function getSectionMediaElements ( $ key = null ) { if ( ! is_null ( $ key ) ) { return self :: $ _sectionMedia [ $ key ] ; } else { $ arrImages = self :: $ _sectionMedia [ 'images' ] ; $ arrObjects = self :: $ _sectionMedia [ 'embeddings' ] ; $ arrLinks = self :: $ _sectionMedia [ 'links' ] ; return array_merge ( $ arrImages , $ arrObjects , $ arrLinks ) ; } }
Get Section Media Elements

@param string $key
@return array
Get Section Media Elements