PHP 클래스 FOF30\View\DataView\Csv

상속: extends Html, implements FOF30\View\DataView\DataViewInterface
파일 보기 프로젝트 열기: akeeba/fof

보호된 프로퍼티들

프로퍼티 타입 설명
$csvFields array The columns to include in the CSV output. If it's empty it will be ignored.
$csvFilename string The filename of the downloaded CSV file.
$csvHeader boolean Should I produce a CSV header row.

공개 메소드들

메소드 설명
__construct ( Container $container, array $config = [] ) Public constructor. Instantiates a F0FViewCsv object.
display ( string $tpl = null ) : boolean Overrides the default method to execute and display a template script.

메소드 상세

__construct() 공개 메소드

Public constructor. Instantiates a F0FViewCsv object.
public __construct ( Container $container, array $config = [] )
$container FOF30\Container\Container The container we belong to
$config array The configuration overrides for the view

display() 공개 메소드

Instead of loadTemplate is uses loadAnyTemplate.
public display ( string $tpl = null ) : boolean
$tpl string The name of the template file to parse
리턴 boolean True on success

프로퍼티 상세

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

The columns to include in the CSV output. If it's empty it will be ignored.
protected array $csvFields
리턴 array

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

The filename of the downloaded CSV file.
protected string $csvFilename
리턴 string

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

Should I produce a CSV header row.
protected bool $csvHeader
리턴 boolean