function Archive_Tar::listContent

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.