WordPress at a glance
function is not described

getid3_matroska::HandleEMBLSimpleTag() private WP 1.0

{} It's a method of the class: getid3_matroska{}

No Hooks.

Return

Array.

Usage

// private - for code of main (parent) class only
$result = $this->HandleEMBLSimpleTag( $parent_end );
$parent_end(int) (required)
-

Code of getid3_matroska::HandleEMBLSimpleTag() WP 5.7.2

<?php
private function HandleEMBLSimpleTag($parent_end) {
	$simpletag_entry = array();

	while ($this->getEBMLelement($element, $parent_end, array(EBML_ID_SIMPLETAG))) {
		switch ($element['id']) {

			case EBML_ID_TAGNAME:
			case EBML_ID_TAGLANGUAGE:
			case EBML_ID_TAGSTRING:
			case EBML_ID_TAGBINARY:
				$simpletag_entry[$element['id_name']] = $element['data'];
				break;

			case EBML_ID_SIMPLETAG:
				$simpletag_entry[$element['id_name']][] = $this->HandleEMBLSimpleTag($element['end']);
				break;

			case EBML_ID_TAGDEFAULT:
				$simpletag_entry[$element['id_name']] = (bool)getid3_lib::BigEndian2Int($element['data']);
				break;

			default:
				$this->unhandledElement('tag.simpletag', __LINE__, $element);
				break;
		}
	}

	return $simpletag_entry;
}