PHP 클래스 Craft\Neo_RelabelService

또한 보기: https://github.com/benjamminf/craft-relabel
상속: extends craft\BaseApplicationComponent
파일 보기 프로젝트 열기: benjamminf/craft-neo

공개 메소드들

메소드 설명
onSaveFieldLayout ( craft\Event $e ) Saves Neo block type relabels from it's post data.
pluginInit ( ) Separate initialisation function to be called inside the NeoPlugin init method.
saveLabel ( RelabelModel $label ) Saves the relabels for a field.

메소드 상세

onSaveFieldLayout() 공개 메소드

Saves Neo block type relabels from it's post data.
public onSaveFieldLayout ( craft\Event $e )
$e craft\Event

pluginInit() 공개 메소드

Separate initialisation function to be called inside the NeoPlugin init method.
public pluginInit ( )

saveLabel() 공개 메소드

Serves as a wrapper for RelabelService::saveLabel, which requires Relabel to exist first.
public saveLabel ( RelabelModel $label )
$label RelabelModel