PHP 클래스 Sonata\Exporter\Writer\CsvWriter

저자: Thomas Rabaix ([email protected])
상속: implements Sonata\Exporter\Writer\TypedWriterInterface
파일 보기 프로젝트 열기: sonata-project/exporter 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$delimiter string
$enclosure string
$escape string
$file resource
$filename string
$position integer
$showHeaders boolean
$withBom boolean

공개 메소드들

메소드 설명
__construct ( string $filename, string $delimiter = ',', string $enclosure = '"', string $escape = '\', boolean $showHeaders = true, boolean $withBom = false )
close ( )
getDefaultMimeType ( )
getFormat ( )
open ( )
write ( array $data )

보호된 메소드들

메소드 설명
addHeaders ( array $data )

메소드 상세

__construct() 공개 메소드

public __construct ( string $filename, string $delimiter = ',', string $enclosure = '"', string $escape = '\', boolean $showHeaders = true, boolean $withBom = false )
$filename string
$delimiter string
$enclosure string
$escape string
$showHeaders boolean
$withBom boolean

addHeaders() 보호된 메소드

protected addHeaders ( array $data )
$data array

close() 공개 메소드

public close ( )

getDefaultMimeType() 최종 공개 메소드

final public getDefaultMimeType ( )

getFormat() 최종 공개 메소드

final public getFormat ( )

open() 공개 메소드

public open ( )

write() 공개 메소드

public write ( array $data )
$data array

프로퍼티 상세

$delimiter 보호되어 있는 프로퍼티

protected string $delimiter
리턴 string

$enclosure 보호되어 있는 프로퍼티

protected string $enclosure
리턴 string

$escape 보호되어 있는 프로퍼티

protected string $escape
리턴 string

$file 보호되어 있는 프로퍼티

protected resource $file
리턴 resource

$filename 보호되어 있는 프로퍼티

protected string $filename
리턴 string

$position 보호되어 있는 프로퍼티

protected int $position
리턴 integer

$showHeaders 보호되어 있는 프로퍼티

protected bool $showHeaders
리턴 boolean

$withBom 보호되어 있는 프로퍼티

protected bool $withBom
리턴 boolean