프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$exportableDataTypes |
메소드 | 설명 | |
---|---|---|
checkPermission ( ) : boolean | Assume schematic can do anything. | |
exportToYaml ( string $file, $dataTypes = 'all', boolean $autoCreate = true ) : |
Export to Yaml file. | |
getExportableDataTypes ( ) | ||
getUser ( ) : Craft\Craft\UserModel | Always return the super user. | |
importFromYaml ( string $file, string $override = null, boolean $force = false ) : |
Import from Yaml file. |
메소드 | 설명 | |
---|---|---|
doExport ( array $services, array &$data ) | Handles exporting. | |
doImport ( |
Handles importing. | |
exportDataModel ( string | array $dataTypes = 'all' ) : array | Export data model. | |
getPluginData ( array $data, string $handle, array $default = [] ) : array | Returns data from import model or default. | |
importDataModel ( |
Import data model. |
public checkPermission ( ) : boolean | ||
리턴 | boolean |
public exportToYaml ( string $file, $dataTypes = 'all', boolean $autoCreate = true ) : |
||
$file | string | |
$autoCreate | boolean | |
리턴 |
public getUser ( ) : Craft\Craft\UserModel | ||
리턴 | Craft\Craft\UserModel |