getid3_quicktime::search_tag_by_key() – Helper functions for m4b audiobook chapters code by Steffen Hartmann 2015-Nov-08.

You appear to be a bot. Output may be restricted

Description

Helper functions for m4b audiobook chapters code by Steffen Hartmann 2015-Nov-08.

Usage

getid3_quicktime::search_tag_by_key( $info, $tag, $history, $result );

Parameters

$info
( array ) required
$tag
( string ) required
$history
( string ) required
$result
( array ) required

Returns

void

Source

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

1 to 12 of 12
  public function search_tag_by_key($info, $tag, $history, &$result) {
    foreach ($info as $key => $value) {
      $key_history = $history.'/'.$key;
      if ($key === $tag) {
        $result[] = array($key_history, $info);
      } else {
        if (is_array($value)) {
          $this->getid3_quicktime::search_tag_by_key($value, $tag, $key_history, $result);
        }
      }
    }
  }
 

 View on GitHub View on Trac