PHP 클래스 Liuggio\ExcelBundle\Factory

파일 보기 프로젝트 열기: liuggio/excelbundle 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $phpExcelIO = '\PHPExcel_IOFactory' )
createHelperHTML ( ) : PHPExcel_Helper_HTML Create a PHPExcel Helper HTML Object
createPHPExcelObject ( string $filename = null ) : PHPExcel Creates an empty PHPExcel Object if the filename is empty, otherwise loads the file into the object.
createPHPExcelWorksheetDrawing ( ) : PHPExcel_Worksheet_Drawing Create a worksheet drawing
createStreamedResponse ( PHPExcel_Writer_IWriter $writer, integer $status = 200, array $headers = [] ) : Symfony\Component\HttpFoundation\StreamedResponse Stream the file as Response.
createWriter ( PHPExcel $phpExcelObject, string $type = 'Excel5' ) : PHPExcel_Writer_IWriter Create a writer given the PHPExcelObject and the type, the type coul be one of PHPExcel_IOFactory::$_autoResolveClasses

메소드 상세

__construct() 공개 메소드

public __construct ( $phpExcelIO = '\PHPExcel_IOFactory' )

createHelperHTML() 공개 메소드

Create a PHPExcel Helper HTML Object
public createHelperHTML ( ) : PHPExcel_Helper_HTML
리턴 PHPExcel_Helper_HTML

createPHPExcelObject() 공개 메소드

Creates an empty PHPExcel Object if the filename is empty, otherwise loads the file into the object.
public createPHPExcelObject ( string $filename = null ) : PHPExcel
$filename string
리턴 PHPExcel

createPHPExcelWorksheetDrawing() 공개 메소드

Create a worksheet drawing
public createPHPExcelWorksheetDrawing ( ) : PHPExcel_Worksheet_Drawing
리턴 PHPExcel_Worksheet_Drawing

createStreamedResponse() 공개 메소드

Stream the file as Response.
public createStreamedResponse ( PHPExcel_Writer_IWriter $writer, integer $status = 200, array $headers = [] ) : Symfony\Component\HttpFoundation\StreamedResponse
$writer PHPExcel_Writer_IWriter
$status integer
$headers array
리턴 Symfony\Component\HttpFoundation\StreamedResponse

createWriter() 공개 메소드

Create a writer given the PHPExcelObject and the type, the type coul be one of PHPExcel_IOFactory::$_autoResolveClasses
public createWriter ( PHPExcel $phpExcelObject, string $type = 'Excel5' ) : PHPExcel_Writer_IWriter
$phpExcelObject PHPExcel
$type string
리턴 PHPExcel_Writer_IWriter