PHP 클래스 Bolt\Storage\Migration\Export

저자: Gawain Lynch ([email protected])
상속: extends Bolt\Storage\Migration\AbstractMigration
파일 보기 프로젝트 열기: bolt/bolt 1 사용 예제들

공개 메소드들

메소드 설명
checkContenttypeValid ( string | array $contenttypeslugs = [] ) : Export Check Contenttype requested exists.
exportContenttypesRecords ( ) : Export Export set ContentType's records to the export file.
setMigrationFiles ( $files ) : Export Set the migration files.

보호된 메소드들

메소드 설명
writeMigrationFile ( array $data, boolean $last, boolean $append = false ) : array Write a migration file.

비공개 메소드들

메소드 설명
exportContenttypeRecords ( string $contenttype, boolean $last ) : void Export a single ContentType's records to the export file.

메소드 상세

checkContenttypeValid() 공개 메소드

Check Contenttype requested exists.
public checkContenttypeValid ( string | array $contenttypeslugs = [] ) : Export
$contenttypeslugs string | array
리턴 Export

exportContenttypesRecords() 공개 메소드

Export set ContentType's records to the export file.
public exportContenttypesRecords ( ) : Export
리턴 Export

setMigrationFiles() 공개 메소드

Also creates an output file object.
또한 보기: Bolt\Storage\Migration\AbstractMigration::setMigrationFiles()
public setMigrationFiles ( $files ) : Export
리턴 Export

writeMigrationFile() 보호된 메소드

This function will determine what type based on extension.
protected writeMigrationFile ( array $data, boolean $last, boolean $append = false ) : array
$data array The data to write out
$last boolean Flag that indicates last record
$append boolean Whether to append or abort file writing if a file exists
리턴 array