1 system.tar.inc public Archive_Tar::setIgnoreRegexp($regexp)

This method sets the regular expression for ignoring files and directories at import, for example: $arch->setIgnoreRegexp("#CVS|\.svn#");

Parameters

string $regexp regular expression defining which files or directories to ignore:

File

core/modules/system/system.tar.inc, line 759

Class

Archive_Tar

Code

public function setIgnoreRegexp($regexp) 
 {
  $this->_ignore_regexp = $regexp;
}