[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/spout/src/Spout/Writer/XLSX/Helper/ -> FileSystemHelper.php (summary)

(no description)

File Size: 371 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

FileSystemHelper:: (18 methods):
  getRootFolder()
  getXlFolder()
  getXlWorksheetsFolder()
  createBaseFilesAndFolders()
  createRootFolder()
  createRelsFolderAndFile()
  createRelsFile()
  createDocPropsFolderAndFiles()
  createAppXmlFile()
  createCoreXmlFile()
  createXlFolderAndSubFolders()
  createXlRelsFolder()
  createXlWorksheetsFolder()
  createContentTypesFile()
  createWorkbookFile()
  createWorkbookRelsFile()
  createStylesFile()
  zipRootFolderAndCopyToStream()


Class: FileSystemHelper  - X-Ref

Class FileSystemHelper
This class provides helper functions to help with the file system operations
like files/folders creation & deletion for XLSX files

getRootFolder()   X-Ref

return: string

getXlFolder()   X-Ref

return: string

getXlWorksheetsFolder()   X-Ref

return: string

createBaseFilesAndFolders()   X-Ref
Creates all the folders needed to create a XLSX file, as well as the files that won't change.

return: void

createRootFolder()   X-Ref
Creates the folder that will be used as root

return: FileSystemHelper

createRelsFolderAndFile()   X-Ref
Creates the "_rels" folder under the root folder as well as the ".rels" file in it

return: FileSystemHelper

createRelsFile()   X-Ref
Creates the ".rels" file under the "_rels" folder (under root)

return: FileSystemHelper

createDocPropsFolderAndFiles()   X-Ref
Creates the "docProps" folder under the root folder as well as the "app.xml" and "core.xml" files in it

return: FileSystemHelper

createAppXmlFile()   X-Ref
Creates the "app.xml" file under the "docProps" folder

return: FileSystemHelper

createCoreXmlFile()   X-Ref
Creates the "core.xml" file under the "docProps" folder

return: FileSystemHelper

createXlFolderAndSubFolders()   X-Ref
Creates the "xl" folder under the root folder as well as its subfolders

return: FileSystemHelper

createXlRelsFolder()   X-Ref
Creates the "_rels" folder under the "xl" folder

return: FileSystemHelper

createXlWorksheetsFolder()   X-Ref
Creates the "worksheets" folder under the "xl" folder

return: FileSystemHelper

createContentTypesFile($worksheets)   X-Ref
Creates the "[Content_Types].xml" file under the root folder

param: Worksheet[] $worksheets
return: FileSystemHelper

createWorkbookFile($worksheets)   X-Ref
Creates the "workbook.xml" file under the "xl" folder

param: Worksheet[] $worksheets
return: FileSystemHelper

createWorkbookRelsFile($worksheets)   X-Ref
Creates the "workbook.xml.res" file under the "xl/_res" folder

param: Worksheet[] $worksheets
return: FileSystemHelper

createStylesFile($styleHelper)   X-Ref
Creates the "styles.xml" file under the "xl" folder

param: StyleHelper $styleHelper
return: FileSystemHelper

zipRootFolderAndCopyToStream($streamPointer)   X-Ref
Zips the root folder and streams the contents of the zip into the given stream

param: resource $streamPointer Pointer to the stream to copy the zip
return: void



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1