WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

getid3_matroska::EBMLidName() private WP 1.0

Это метод класса: getid3_matroska{}

Хуков нет.

Возвращает

Строку.

Использование

$result = getid3_matroska::EBMLidName( $value );
$value(число) (обязательный)

Код getid3_matroska::EBMLidName() WP 5.5.1

wp-includes/ID3/module.audio-video.matroska.php
<?php
private static function EBMLidName($value) {
	static $EBMLidList = array();
	if (empty($EBMLidList)) {
		$EBMLidList[EBML_ID_ASPECTRATIOTYPE]            = 'AspectRatioType';
		$EBMLidList[EBML_ID_ATTACHEDFILE]               = 'AttachedFile';
		$EBMLidList[EBML_ID_ATTACHMENTLINK]             = 'AttachmentLink';
		$EBMLidList[EBML_ID_ATTACHMENTS]                = 'Attachments';
		$EBMLidList[EBML_ID_AUDIO]                      = 'Audio';
		$EBMLidList[EBML_ID_BITDEPTH]                   = 'BitDepth';
		$EBMLidList[EBML_ID_CHANNELPOSITIONS]           = 'ChannelPositions';
		$EBMLidList[EBML_ID_CHANNELS]                   = 'Channels';
		$EBMLidList[EBML_ID_CHAPCOUNTRY]                = 'ChapCountry';
		$EBMLidList[EBML_ID_CHAPLANGUAGE]               = 'ChapLanguage';
		$EBMLidList[EBML_ID_CHAPPROCESS]                = 'ChapProcess';
		$EBMLidList[EBML_ID_CHAPPROCESSCODECID]         = 'ChapProcessCodecID';
		$EBMLidList[EBML_ID_CHAPPROCESSCOMMAND]         = 'ChapProcessCommand';
		$EBMLidList[EBML_ID_CHAPPROCESSDATA]            = 'ChapProcessData';
		$EBMLidList[EBML_ID_CHAPPROCESSPRIVATE]         = 'ChapProcessPrivate';
		$EBMLidList[EBML_ID_CHAPPROCESSTIME]            = 'ChapProcessTime';
		$EBMLidList[EBML_ID_CHAPSTRING]                 = 'ChapString';
		$EBMLidList[EBML_ID_CHAPTERATOM]                = 'ChapterAtom';
		$EBMLidList[EBML_ID_CHAPTERDISPLAY]             = 'ChapterDisplay';
		$EBMLidList[EBML_ID_CHAPTERFLAGENABLED]         = 'ChapterFlagEnabled';
		$EBMLidList[EBML_ID_CHAPTERFLAGHIDDEN]          = 'ChapterFlagHidden';
		$EBMLidList[EBML_ID_CHAPTERPHYSICALEQUIV]       = 'ChapterPhysicalEquiv';
		$EBMLidList[EBML_ID_CHAPTERS]                   = 'Chapters';
		$EBMLidList[EBML_ID_CHAPTERSEGMENTEDITIONUID]   = 'ChapterSegmentEditionUID';
		$EBMLidList[EBML_ID_CHAPTERSEGMENTUID]          = 'ChapterSegmentUID';
		$EBMLidList[EBML_ID_CHAPTERTIMEEND]             = 'ChapterTimeEnd';
		$EBMLidList[EBML_ID_CHAPTERTIMESTART]           = 'ChapterTimeStart';
		$EBMLidList[EBML_ID_CHAPTERTRACK]               = 'ChapterTrack';
		$EBMLidList[EBML_ID_CHAPTERTRACKNUMBER]         = 'ChapterTrackNumber';
		$EBMLidList[EBML_ID_CHAPTERTRANSLATE]           = 'ChapterTranslate';
		$EBMLidList[EBML_ID_CHAPTERTRANSLATECODEC]      = 'ChapterTranslateCodec';
		$EBMLidList[EBML_ID_CHAPTERTRANSLATEEDITIONUID] = 'ChapterTranslateEditionUID';
		$EBMLidList[EBML_ID_CHAPTERTRANSLATEID]         = 'ChapterTranslateID';
		$EBMLidList[EBML_ID_CHAPTERUID]                 = 'ChapterUID';
		$EBMLidList[EBML_ID_CLUSTER]                    = 'Cluster';
		$EBMLidList[EBML_ID_CLUSTERBLOCK]               = 'ClusterBlock';
		$EBMLidList[EBML_ID_CLUSTERBLOCKADDID]          = 'ClusterBlockAddID';
		$EBMLidList[EBML_ID_CLUSTERBLOCKADDITIONAL]     = 'ClusterBlockAdditional';
		$EBMLidList[EBML_ID_CLUSTERBLOCKADDITIONID]     = 'ClusterBlockAdditionID';
		$EBMLidList[EBML_ID_CLUSTERBLOCKADDITIONS]      = 'ClusterBlockAdditions';
		$EBMLidList[EBML_ID_CLUSTERBLOCKDURATION]       = 'ClusterBlockDuration';
		$EBMLidList[EBML_ID_CLUSTERBLOCKGROUP]          = 'ClusterBlockGroup';
		$EBMLidList[EBML_ID_CLUSTERBLOCKMORE]           = 'ClusterBlockMore';
		$EBMLidList[EBML_ID_CLUSTERBLOCKVIRTUAL]        = 'ClusterBlockVirtual';
		$EBMLidList[EBML_ID_CLUSTERCODECSTATE]          = 'ClusterCodecState';
		$EBMLidList[EBML_ID_CLUSTERDELAY]               = 'ClusterDelay';
		$EBMLidList[EBML_ID_CLUSTERDURATION]            = 'ClusterDuration';
		$EBMLidList[EBML_ID_CLUSTERENCRYPTEDBLOCK]      = 'ClusterEncryptedBlock';
		$EBMLidList[EBML_ID_CLUSTERFRAMENUMBER]         = 'ClusterFrameNumber';
		$EBMLidList[EBML_ID_CLUSTERLACENUMBER]          = 'ClusterLaceNumber';
		$EBMLidList[EBML_ID_CLUSTERPOSITION]            = 'ClusterPosition';
		$EBMLidList[EBML_ID_CLUSTERPREVSIZE]            = 'ClusterPrevSize';
		$EBMLidList[EBML_ID_CLUSTERREFERENCEBLOCK]      = 'ClusterReferenceBlock';
		$EBMLidList[EBML_ID_CLUSTERREFERENCEPRIORITY]   = 'ClusterReferencePriority';
		$EBMLidList[EBML_ID_CLUSTERREFERENCEVIRTUAL]    = 'ClusterReferenceVirtual';
		$EBMLidList[EBML_ID_CLUSTERSILENTTRACKNUMBER]   = 'ClusterSilentTrackNumber';
		$EBMLidList[EBML_ID_CLUSTERSILENTTRACKS]        = 'ClusterSilentTracks';
		$EBMLidList[EBML_ID_CLUSTERSIMPLEBLOCK]         = 'ClusterSimpleBlock';
		$EBMLidList[EBML_ID_CLUSTERTIMECODE]            = 'ClusterTimecode';
		$EBMLidList[EBML_ID_CLUSTERTIMESLICE]           = 'ClusterTimeSlice';
		$EBMLidList[EBML_ID_CODECDECODEALL]             = 'CodecDecodeAll';
		$EBMLidList[EBML_ID_CODECDOWNLOADURL]           = 'CodecDownloadURL';
		$EBMLidList[EBML_ID_CODECID]                    = 'CodecID';
		$EBMLidList[EBML_ID_CODECINFOURL]               = 'CodecInfoURL';
		$EBMLidList[EBML_ID_CODECNAME]                  = 'CodecName';
		$EBMLidList[EBML_ID_CODECPRIVATE]               = 'CodecPrivate';
		$EBMLidList[EBML_ID_CODECSETTINGS]              = 'CodecSettings';
		$EBMLidList[EBML_ID_COLOURSPACE]                = 'ColourSpace';
		$EBMLidList[EBML_ID_CONTENTCOMPALGO]            = 'ContentCompAlgo';
		$EBMLidList[EBML_ID_CONTENTCOMPRESSION]         = 'ContentCompression';
		$EBMLidList[EBML_ID_CONTENTCOMPSETTINGS]        = 'ContentCompSettings';
		$EBMLidList[EBML_ID_CONTENTENCALGO]             = 'ContentEncAlgo';
		$EBMLidList[EBML_ID_CONTENTENCKEYID]            = 'ContentEncKeyID';
		$EBMLidList[EBML_ID_CONTENTENCODING]            = 'ContentEncoding';
		$EBMLidList[EBML_ID_CONTENTENCODINGORDER]       = 'ContentEncodingOrder';
		$EBMLidList[EBML_ID_CONTENTENCODINGS]           = 'ContentEncodings';
		$EBMLidList[EBML_ID_CONTENTENCODINGSCOPE]       = 'ContentEncodingScope';
		$EBMLidList[EBML_ID_CONTENTENCODINGTYPE]        = 'ContentEncodingType';
		$EBMLidList[EBML_ID_CONTENTENCRYPTION]          = 'ContentEncryption';
		$EBMLidList[EBML_ID_CONTENTSIGALGO]             = 'ContentSigAlgo';
		$EBMLidList[EBML_ID_CONTENTSIGHASHALGO]         = 'ContentSigHashAlgo';
		$EBMLidList[EBML_ID_CONTENTSIGKEYID]            = 'ContentSigKeyID';
		$EBMLidList[EBML_ID_CONTENTSIGNATURE]           = 'ContentSignature';
		$EBMLidList[EBML_ID_CRC32]                      = 'CRC32';
		$EBMLidList[EBML_ID_CUEBLOCKNUMBER]             = 'CueBlockNumber';
		$EBMLidList[EBML_ID_CUECLUSTERPOSITION]         = 'CueClusterPosition';
		$EBMLidList[EBML_ID_CUECODECSTATE]              = 'CueCodecState';
		$EBMLidList[EBML_ID_CUEPOINT]                   = 'CuePoint';
		$EBMLidList[EBML_ID_CUEREFCLUSTER]              = 'CueRefCluster';
		$EBMLidList[EBML_ID_CUEREFCODECSTATE]           = 'CueRefCodecState';
		$EBMLidList[EBML_ID_CUEREFERENCE]               = 'CueReference';
		$EBMLidList[EBML_ID_CUEREFNUMBER]               = 'CueRefNumber';
		$EBMLidList[EBML_ID_CUEREFTIME]                 = 'CueRefTime';
		$EBMLidList[EBML_ID_CUES]                       = 'Cues';
		$EBMLidList[EBML_ID_CUETIME]                    = 'CueTime';
		$EBMLidList[EBML_ID_CUETRACK]                   = 'CueTrack';
		$EBMLidList[EBML_ID_CUETRACKPOSITIONS]          = 'CueTrackPositions';
		$EBMLidList[EBML_ID_DATEUTC]                    = 'DateUTC';
		$EBMLidList[EBML_ID_DEFAULTDURATION]            = 'DefaultDuration';
		$EBMLidList[EBML_ID_DISPLAYHEIGHT]              = 'DisplayHeight';
		$EBMLidList[EBML_ID_DISPLAYUNIT]                = 'DisplayUnit';
		$EBMLidList[EBML_ID_DISPLAYWIDTH]               = 'DisplayWidth';
		$EBMLidList[EBML_ID_DOCTYPE]                    = 'DocType';
		$EBMLidList[EBML_ID_DOCTYPEREADVERSION]         = 'DocTypeReadVersion';
		$EBMLidList[EBML_ID_DOCTYPEVERSION]             = 'DocTypeVersion';
		$EBMLidList[EBML_ID_DURATION]                   = 'Duration';
		$EBMLidList[EBML_ID_EBML]                       = 'EBML';
		$EBMLidList[EBML_ID_EBMLMAXIDLENGTH]            = 'EBMLMaxIDLength';
		$EBMLidList[EBML_ID_EBMLMAXSIZELENGTH]          = 'EBMLMaxSizeLength';
		$EBMLidList[EBML_ID_EBMLREADVERSION]            = 'EBMLReadVersion';
		$EBMLidList[EBML_ID_EBMLVERSION]                = 'EBMLVersion';
		$EBMLidList[EBML_ID_EDITIONENTRY]               = 'EditionEntry';
		$EBMLidList[EBML_ID_EDITIONFLAGDEFAULT]         = 'EditionFlagDefault';
		$EBMLidList[EBML_ID_EDITIONFLAGHIDDEN]          = 'EditionFlagHidden';
		$EBMLidList[EBML_ID_EDITIONFLAGORDERED]         = 'EditionFlagOrdered';
		$EBMLidList[EBML_ID_EDITIONUID]                 = 'EditionUID';
		$EBMLidList[EBML_ID_FILEDATA]                   = 'FileData';
		$EBMLidList[EBML_ID_FILEDESCRIPTION]            = 'FileDescription';
		$EBMLidList[EBML_ID_FILEMIMETYPE]               = 'FileMimeType';
		$EBMLidList[EBML_ID_FILENAME]                   = 'FileName';
		$EBMLidList[EBML_ID_FILEREFERRAL]               = 'FileReferral';
		$EBMLidList[EBML_ID_FILEUID]                    = 'FileUID';
		$EBMLidList[EBML_ID_FLAGDEFAULT]                = 'FlagDefault';
		$EBMLidList[EBML_ID_FLAGENABLED]                = 'FlagEnabled';
		$EBMLidList[EBML_ID_FLAGFORCED]                 = 'FlagForced';
		$EBMLidList[EBML_ID_FLAGINTERLACED]             = 'FlagInterlaced';
		$EBMLidList[EBML_ID_FLAGLACING]                 = 'FlagLacing';
		$EBMLidList[EBML_ID_GAMMAVALUE]                 = 'GammaValue';
		$EBMLidList[EBML_ID_INFO]                       = 'Info';
		$EBMLidList[EBML_ID_LANGUAGE]                   = 'Language';
		$EBMLidList[EBML_ID_MAXBLOCKADDITIONID]         = 'MaxBlockAdditionID';
		$EBMLidList[EBML_ID_MAXCACHE]                   = 'MaxCache';
		$EBMLidList[EBML_ID_MINCACHE]                   = 'MinCache';
		$EBMLidList[EBML_ID_MUXINGAPP]                  = 'MuxingApp';
		$EBMLidList[EBML_ID_NAME]                       = 'Name';
		$EBMLidList[EBML_ID_NEXTFILENAME]               = 'NextFilename';
		$EBMLidList[EBML_ID_NEXTUID]                    = 'NextUID';
		$EBMLidList[EBML_ID_OUTPUTSAMPLINGFREQUENCY]    = 'OutputSamplingFrequency';
		$EBMLidList[EBML_ID_PIXELCROPBOTTOM]            = 'PixelCropBottom';
		$EBMLidList[EBML_ID_PIXELCROPLEFT]              = 'PixelCropLeft';
		$EBMLidList[EBML_ID_PIXELCROPRIGHT]             = 'PixelCropRight';
		$EBMLidList[EBML_ID_PIXELCROPTOP]               = 'PixelCropTop';
		$EBMLidList[EBML_ID_PIXELHEIGHT]                = 'PixelHeight';
		$EBMLidList[EBML_ID_PIXELWIDTH]                 = 'PixelWidth';
		$EBMLidList[EBML_ID_PREVFILENAME]               = 'PrevFilename';
		$EBMLidList[EBML_ID_PREVUID]                    = 'PrevUID';
		$EBMLidList[EBML_ID_SAMPLINGFREQUENCY]          = 'SamplingFrequency';
		$EBMLidList[EBML_ID_SEEK]                       = 'Seek';
		$EBMLidList[EBML_ID_SEEKHEAD]                   = 'SeekHead';
		$EBMLidList[EBML_ID_SEEKID]                     = 'SeekID';
		$EBMLidList[EBML_ID_SEEKPOSITION]               = 'SeekPosition';
		$EBMLidList[EBML_ID_SEGMENT]                    = 'Segment';
		$EBMLidList[EBML_ID_SEGMENTFAMILY]              = 'SegmentFamily';
		$EBMLidList[EBML_ID_SEGMENTFILENAME]            = 'SegmentFilename';
		$EBMLidList[EBML_ID_SEGMENTUID]                 = 'SegmentUID';
		$EBMLidList[EBML_ID_SIMPLETAG]                  = 'SimpleTag';
		$EBMLidList[EBML_ID_CLUSTERSLICES]              = 'ClusterSlices';
		$EBMLidList[EBML_ID_STEREOMODE]                 = 'StereoMode';
		$EBMLidList[EBML_ID_OLDSTEREOMODE]              = 'OldStereoMode';
		$EBMLidList[EBML_ID_TAG]                        = 'Tag';
		$EBMLidList[EBML_ID_TAGATTACHMENTUID]           = 'TagAttachmentUID';
		$EBMLidList[EBML_ID_TAGBINARY]                  = 'TagBinary';
		$EBMLidList[EBML_ID_TAGCHAPTERUID]              = 'TagChapterUID';
		$EBMLidList[EBML_ID_TAGDEFAULT]                 = 'TagDefault';
		$EBMLidList[EBML_ID_TAGEDITIONUID]              = 'TagEditionUID';
		$EBMLidList[EBML_ID_TAGLANGUAGE]                = 'TagLanguage';
		$EBMLidList[EBML_ID_TAGNAME]                    = 'TagName';
		$EBMLidList[EBML_ID_TAGTRACKUID]                = 'TagTrackUID';
		$EBMLidList[EBML_ID_TAGS]                       = 'Tags';
		$EBMLidList[EBML_ID_TAGSTRING]                  = 'TagString';
		$EBMLidList[EBML_ID_TARGETS]                    = 'Targets';
		$EBMLidList[EBML_ID_TARGETTYPE]                 = 'TargetType';
		$EBMLidList[EBML_ID_TARGETTYPEVALUE]            = 'TargetTypeValue';
		$EBMLidList[EBML_ID_TIMECODESCALE]              = 'TimecodeScale';
		$EBMLidList[EBML_ID_TITLE]                      = 'Title';
		$EBMLidList[EBML_ID_TRACKENTRY]                 = 'TrackEntry';
		$EBMLidList[EBML_ID_TRACKNUMBER]                = 'TrackNumber';
		$EBMLidList[EBML_ID_TRACKOFFSET]                = 'TrackOffset';
		$EBMLidList[EBML_ID_TRACKOVERLAY]               = 'TrackOverlay';
		$EBMLidList[EBML_ID_TRACKS]                     = 'Tracks';
		$EBMLidList[EBML_ID_TRACKTIMECODESCALE]         = 'TrackTimecodeScale';
		$EBMLidList[EBML_ID_TRACKTRANSLATE]             = 'TrackTranslate';
		$EBMLidList[EBML_ID_TRACKTRANSLATECODEC]        = 'TrackTranslateCodec';
		$EBMLidList[EBML_ID_TRACKTRANSLATEEDITIONUID]   = 'TrackTranslateEditionUID';
		$EBMLidList[EBML_ID_TRACKTRANSLATETRACKID]      = 'TrackTranslateTrackID';
		$EBMLidList[EBML_ID_TRACKTYPE]                  = 'TrackType';
		$EBMLidList[EBML_ID_TRACKUID]                   = 'TrackUID';
		$EBMLidList[EBML_ID_VIDEO]                      = 'Video';
		$EBMLidList[EBML_ID_VOID]                       = 'Void';
		$EBMLidList[EBML_ID_WRITINGAPP]                 = 'WritingApp';
	}

	return (isset($EBMLidList[$value]) ? $EBMLidList[$value] : dechex($value));
}