Lines Matching refs:file
25 * Generate temporary file name with full path in temporary directory
40 * Render ODT file from template
64 foreach ($files as $file) {
65 $content_file = $tmp_dir . $file;
81 foreach($this->readdir_recursive($tmp_dir) as $file) {
82 $fileInfo = FileInfo::fromPath($file);
84 $tmp_zip->addFile($file, $fileInfo);
95 * Render PDF file from template
113 @unlink($tmp_file); // remove odt file
126 // Add each pdf file to the end of the command
127 foreach($rendered_pages as $file) {
128 $cmd .= $file.' ';
139 * Send ODT file using range request
141 * @param $tmp_file string path of sending file
142 * @param $filename string name of sending file
154 //we have to remove file before exit
159 print "Could not read file - bad permissions?";
167 * @return array of file full paths
191 foreach($iterator as $file) {
192 if ($file->isDir()){
193 @rmdir($file->getRealPath());
195 @unlink($file->getRealPath());