PHP 클래스 NerdsAndCompany\Schematic\ConsoleCommands\ImportCommand

Sync Craft Setups.
저자: Nerds & Company
상속: extends Craft\BaseCommand
파일 보기 프로젝트 열기: itmundi/schematic

공개 메소드들

메소드 설명
actionIndex ( string $file = 'craft/config/schema.yml', string $override_file = 'craft/config/override.yml', boolean $force = false ) : integer Imports the Craft datamodel.

메소드 상세

actionIndex() 공개 메소드

Imports the Craft datamodel.
public actionIndex ( string $file = 'craft/config/schema.yml', string $override_file = 'craft/config/override.yml', boolean $force = false ) : integer
$file string yml file containing the schema definition
$override_file string yml file containing the override values
$force boolean if set to true items not in the import will be deleted
리턴 integer