PHP Class Craft\NeoPlugin

Thank you for using Craft Neo!
See also: https://github.com/benjamminf/craft-neo
Inheritance: extends craft\BasePlugin
Datei anzeigen Open project: benjamminf/craft-neo

Public Methods

Method Description
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.

Method Details

addTwigExtension() public method

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.
See also: 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
return NeoTwigExtension

getCraftMinimumVersion() public method

getDescription() public method

public getDescription ( )

getDeveloper() public method

public getDeveloper ( )

getDeveloperUrl() public method

public getDeveloperUrl ( )

getDocumentationUrl() public method

public getDocumentationUrl ( )

getName() public method

public getName ( )

getPHPMinimumVersion() public method

getReleaseFeedUrl() public method

public getReleaseFeedUrl ( )

getSchemaVersion() public method

public getSchemaVersion ( )

getVersion() public method

public getVersion ( )

init() public method

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

isCraftRequiredVersion() public method

isPHPRequiredVersion() public method

onBeforeInstall() public method

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