PHP 클래스 NerdsAndCompany\Schematic\Services\TagGroups

Sync Craft Setups.
저자: Nerds & Company
상속: extends Base
파일 보기 프로젝트 열기: itmundi/schematic 1 사용 예제들

공개 메소드들

메소드 설명
export ( array $tagGroups = [] ) : array Export taggroups.
import ( array $tagGroupDefinitions, boolean $force = false ) : Result Attempt to import tagGroups.

비공개 메소드들

메소드 설명
getTagGroupDefinition ( Craft\TagGroupModel $tagGroup ) : array Get tagGroup definition.
populateTagGroup ( Craft\TagGroupModel $tagGroup, array $tagGroupDefinition, string $tagGroupHandle ) Populate taggroup.

메소드 상세

export() 공개 메소드

Export taggroups.
public export ( array $tagGroups = [] ) : array
$tagGroups array
리턴 array

import() 공개 메소드

Attempt to import tagGroups.
public import ( array $tagGroupDefinitions, boolean $force = false ) : Result
$tagGroupDefinitions array
$force boolean If set to true tagGroups not included in the import will be deleted
리턴 Result