PHP 클래스 Craft\NeoPlugin

Thank you for using Craft Neo!
또한 보기: https://github.com/benjamminf/craft-neo
상속: extends craft\BasePlugin
파일 보기 프로젝트 열기: benjamminf/craft-neo

공개 메소드들

메소드 설명
addTwigExtension ( ) : NeoTwigExtension Adds custom Neo Twig extensions.
getCraftMinimumVersion ( )
getDescription ( )
getDeveloper ( )
getDeveloperUrl ( )
getDocumentationUrl ( )
getName ( )
getPHPMinimumVersion ( )
getReleaseFeedUrl ( )
getSchemaVersion ( )
getVersion ( )
init ( ) Initialises the plugin, as well as it's support for other plugins.
isCraftRequiredVersion ( )
isPHPRequiredVersion ( )
onBeforeInstall ( ) : boolean Checks for environment compatibility when installing.

메소드 상세

addTwigExtension() 공개 메소드

It adds a way to test if some value is an instance of Neo_BlockModel in your templates. This is useful when using Twig variables in field settings.
또한 보기: https://github.com/benjamminf/craft-neo/wiki/6.-FAQ#why-do-asset-fields-with-slug-as-an-upload-location-break-on-neo-blocks
public addTwigExtension ( ) : NeoTwigExtension
리턴 NeoTwigExtension

getCraftMinimumVersion() 공개 메소드

getDescription() 공개 메소드

public getDescription ( )

getDeveloper() 공개 메소드

public getDeveloper ( )

getDeveloperUrl() 공개 메소드

public getDeveloperUrl ( )

getDocumentationUrl() 공개 메소드

public getDocumentationUrl ( )

getName() 공개 메소드

public getName ( )

getPHPMinimumVersion() 공개 메소드

getReleaseFeedUrl() 공개 메소드

public getReleaseFeedUrl ( )

getSchemaVersion() 공개 메소드

public getSchemaVersion ( )

getVersion() 공개 메소드

public getVersion ( )

init() 공개 메소드

Initialises the plugin, as well as it's support for other plugins.
public init ( )

isCraftRequiredVersion() 공개 메소드

isPHPRequiredVersion() 공개 메소드

onBeforeInstall() 공개 메소드

Checks for environment compatibility when installing.
public onBeforeInstall ( ) : boolean
리턴 boolean