public function Archive_Tar::extractInString
public Archive_Tar::extractInString($p_filename)
This method extract from the archive one file identified by $p_filename. The return value is a string with the file content, or NULL on error.
Parameters
string $p_filename The path of the file to extract in a string.:
Return value
a string with the file content or NULL.
File
- modules/system/system.tar.inc, line 639
Class
Code
public function extractInString($p_filename) { if ($this->_openRead()) { $v_result = $this->_extractInString($p_filename); $this->_close(); } else { $v_result = null; } return $v_result; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!system!system.tar.inc/function/Archive_Tar::extractInString/7.x