Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2773 from zikula/extensionmodule-refactor
Refactor ExtensionsModule to Core-2.0 (except Plugin handling).
- Loading branch information
Showing
196 changed files
with
5,530 additions
and
3,213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Twig Filters Provided by Zikula Core | ||
============+======================= | ||
|
||
The following twig filters are available in templates. These are in addition to the standard functions provided | ||
by the Twig package itself. See [Twig Documentation](http://twig.sensiolabs.org/documentation) for more information. | ||
|
||
Filters | ||
------- | ||
|
||
* isCoreModule | ||
* languageName | ||
* notifyFilters(filterEventName) | ||
* php(func) | ||
* safeHtml | ||
* urldecode | ||
* yesNo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
Twig Functions Provided by Zikula Core | ||
====================================== | ||
|
||
The following twig functions are available in templates. These are in addition to the standard functions provided | ||
by the Twig package itself. See [Twig Documentation](http://twig.sensiolabs.org/documentation) for more information. | ||
|
||
Functions | ||
--------- | ||
|
||
### Useful | ||
|
||
* array_unset(array, key) | ||
* callFunc(callable, params = []) | ||
* defaultPath(extensionName, type = "user") | ||
* getModVar(module, name, default = null) | ||
* hasPermission(component, instance, level) | ||
* modAvailable(modname, force = false) | ||
* pageAddAsset(type, value, weight = 100) | ||
* pageAddVar(name, value) | ||
* pageGetVar(name, default = null) | ||
* pageSetVar(name, value) | ||
* pager(params) | ||
* polyfill(features = ["forms"]) | ||
* setMetaTag(name, value) | ||
* showflashes(params = []) | ||
* stateLabel(extensionEntity, upgradedExtensions = null) | ||
* zasset(path) | ||
|
||
### Hooks | ||
|
||
* notifyDisplayHooks(eventName, id = null, urlObject = null) | ||
|
||
### Translation/Language | ||
|
||
* __(message, domain = null, locale = null) | ||
* __f(message, params, domain = null, locale = null) | ||
* __fp(context, message, params, domain = null) | ||
* __p(context, message, domain = null) | ||
* _fn(singular, plural, count, params, domain = null, locale = null) | ||
* _fnp(context, singular, plural, count, params, domain = null) | ||
* _n(singular, plural, count, domain = null, locale = null) | ||
* no__(msgid) | ||
* lang(fs = false) | ||
* langdirection() | ||
|
||
### System Specific | ||
|
||
* adminPanelMenu() | ||
* extensionActions(extension) | ||
* getPreviewImagePath(themeName, size = "medium") | ||
|
||
#### Blocks | ||
|
||
* positionavailable(name) | ||
* showblock(block, positionName = "") | ||
* showblockposition(positionName, implode = true) | ||
|
||
#### Atom Theme | ||
|
||
* atomFeedLastUpdated() | ||
* atomId() | ||
|
||
### Unimplemented | ||
|
||
* button() | ||
* icon() | ||
* img() |
Oops, something went wrong.