Метод | Описание | |
---|---|---|
addTwigExtension ( ) : Twig_Extension | Register our Twig filter | |
defineSettings ( ) : Array | We define our setting attributes by way of our own Minimee_SettingsModel. | |
getDescription ( ) : String | ||
getDeveloper ( ) : String | ||
getDeveloperUrl ( ) : String | ||
getDocumentationUrl ( ) : String | ||
getName ( ) : String | ||
getReleaseFeedUrl ( ) : String | ||
getResourcePath ( $path ) : String | Enable ability to serve cache assets from resources/minimee folder | |
getSchemaVersion ( ) : String | ||
getSettingsHtml ( ) : String | Renders the settings form to configure Minimee | |
getVersion ( ) : String | ||
hasCpSection ( ) : Bool | ||
init ( ) : Void | Autoloading, Dependency Injection, Hook & Event binding | |
log ( String $msg, String $level = LogLevel::Info, Bool $force = false ) : Void | Logging any messages to Craft. | |
prepSettings ( $settings ) | ||
registerCachePaths ( ) | Register our cache path that can then be deleted from CP |
Метод | Описание | |
---|---|---|
_autoload ( ) : Void | Require any enums used across Minimee | |
_bindEvents ( ) : void | Watch for the "createCache" event, and if in devMode, try to clean up any expired caches | |
_registerMinimeeDI ( ) : Void | Registers all Dependency Injection |
protected _autoload ( ) : Void | ||
Результат | Void |
protected _bindEvents ( ) : void | ||
Результат | void |
protected _registerMinimeeDI ( ) : Void | ||
Результат | Void |
public addTwigExtension ( ) : Twig_Extension | ||
Результат | Twig_Extension |
public defineSettings ( ) : Array | ||
Результат | Array |
public getResourcePath ( $path ) : String | ||
Результат | String |
public getSettingsHtml ( ) : String | ||
Результат | String |
public init ( ) : Void | ||
Результат | Void |
public static log ( String $msg, String $level = LogLevel::Info, Bool $force = false ) : Void | ||
$msg | String | |
$level | String | |
$force | Bool | |
Результат | Void |
public registerCachePaths ( ) |