Lines Matching refs:filename
75 * @param string $filename Name of the current file
79 function arHeader ($filename, $stat) argument
90 if (strlen($filename) > 16) {
91 $currentSize += strlen($filename);
92 $struct .= sprintf("#1/%-13d", strlen($filename));
95 $struct .= "`\n".$filename;
97 $struct .= sprintf("%-16s", $filename);
109 * @param string $filename Name of the file, the footer depends on its length
113 function arFooter($filename, $size) argument
115 $size = (strlen ($filename) > 16) ? $size + strlen($filename) : $size;
150 function newFile($filename, $stat = array (), argument
164 $this->_currentFilename = basename($filename);
168 return $this->innerWriter->writeData($this->arHeader($filename, $stat));
196 function writeFile($filename) argument
199 $this->_buffer .= file_get_contents($filename);
201 $this->innerWriter->writeFile($filename);