You are here

public function Archive_Tar::listContent in Drupal 7

Return value

array|int

File

modules/system/system.tar.inc, line 387

Class

Archive_Tar

Code

public function listContent() {
  $v_list_detail = array();
  if ($this
    ->_openRead()) {
    if (!$this
      ->_extractList('', $v_list_detail, "list", '', '')) {
      unset($v_list_detail);
      $v_list_detail = 0;
    }
    $this
      ->_close();
  }
  return $v_list_detail;
}