PHP 클래스 Craft\ImportPlugin

저자: Bob Olde Hampsink ([email protected])
상속: extends craft\BasePlugin
파일 보기 프로젝트 열기: boboldehampsink/import

공개 메소드들

메소드 설명
getDeveloper ( ) : string Return plugin developer.
getDeveloperUrl ( ) : string Return plugin developer url.
getName ( ) : string Return plugin name.
getVersion ( ) : string Return plugin version.
hasCpSection ( ) : boolean Return if plugin has cp section.
init ( ) Run on plugin initialisation.
onAfterInstall ( ) Check if the plugin meets the requirements, else uninstall again.
registerCpRoutes ( ) : array Register CP routes.
registerImportOperation ( &$data, string $handle ) : string Register ImportOperation hook.
registerUserPermissions ( ) : array Register permissions.

메소드 상세

getDeveloper() 공개 메소드

Return plugin developer.
public getDeveloper ( ) : string
리턴 string

getDeveloperUrl() 공개 메소드

Return plugin developer url.
public getDeveloperUrl ( ) : string
리턴 string

getName() 공개 메소드

Return plugin name.
public getName ( ) : string
리턴 string

getVersion() 공개 메소드

Return plugin version.
public getVersion ( ) : string
리턴 string

hasCpSection() 공개 메소드

Return if plugin has cp section.
public hasCpSection ( ) : boolean
리턴 boolean

init() 공개 메소드

Run on plugin initialisation.
public init ( )

onAfterInstall() 공개 메소드

Check if the plugin meets the requirements, else uninstall again.
public onAfterInstall ( )

registerCpRoutes() 공개 메소드

Register CP routes.
public registerCpRoutes ( ) : array
리턴 array

registerImportOperation() 공개 메소드

Register ImportOperation hook.
public registerImportOperation ( &$data, string $handle ) : string
$handle string
리턴 string

registerUserPermissions() 공개 메소드

Register permissions.
public registerUserPermissions ( ) : array
리턴 array