getid3_matroska::HandleEMBLSimpleTag() –

You appear to be a bot. Output may be restricted

Description

Usage

$array = getid3_matroska::HandleEMBLSimpleTag( $parent_end );

Parameters

$parent_end
( int ) required

Returns

array

Source

File name: wordpress/wp-includes/ID3/module.audio-video.matroska.php
Lines:

1 to 29 of 29
  private function HandleEMBLSimpleTag($parent_end) {
    $simpletag_entry = array();

    while ($this->getid3_matroska::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->getid3_matroska::HandleEMBLSimpleTag($element['end']);
          break;

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

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

    return $simpletag_entry;
  }
 

 View on GitHub View on Trac