This repository was archived by the owner on Nov 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +31
-7
lines changed Expand file tree Collapse file tree 2 files changed +31
-7
lines changed Original file line number Diff line number Diff line change 1+ [
2+ {
3+ "version" : " 0.3" ,
4+ "downloadUrl" : " https://github.com/victor-in/Craft-TwigPCRE/archive/master.zip" ,
5+ "date" : " 2015-12-16T12:00:00+0000" ,
6+ "notes" : [
7+ " [Improved] Craft 2.5 compatibility, including plugin feed."
8+ ]
9+ }
10+ ]
Original file line number Diff line number Diff line change 22/**
33 * @package Twig PCRE
44 * @author Victor In.
5- * @copyright Copyright 2014
5+ * @copyright Copyright 2016
66 * @link https://github.com/victor-in/Craft-TwigPCRE
77 * @license MIT
88 */
99namespace Craft ;
1010
1111class TwigPcrePlugin extends BasePlugin
1212{
13- function getName ()
13+ public function getName ()
1414 {
1515 return Craft::t ('Twig PCRE Filters ' );
1616 }
1717
18- function getVersion ()
18+ public function getVersion ()
1919 {
20- return '0.1 ' ;
20+ return '0.3 ' ;
2121 }
22+
23+ public function getSchemaVersion () {
24+ return '0.1 ' ;
25+ }
2226
23- function getDeveloper ()
27+ public function getDeveloper ()
2428 {
2529 return 'Victor In. ' ;
2630 }
2731
28- function getDeveloperUrl ()
32+ public function getDeveloperUrl ()
2933 {
3034 return 'https://github.com/victor-in/ ' ;
3135 }
36+
37+ public function getDocumentationUrl ()
38+ {
39+ return 'https://github.com/victor-in/Craft-TwigPCRE ' ;
40+ }
41+
42+ public function getReleaseFeedUrl ()
43+ {
44+ return 'https://github.com/victor-in/Craft-TwigPCRE/blob/master/changelog.json ' ;
45+ }
3246
33- function addTwigExtension ()
47+ public function addTwigExtension ()
3448 {
3549 Craft::import ('plugins.twigpcre.twigextensions.TwigPcreTwigExtension ' );
3650 return new TwigPcreTwigExtension ();
You can’t perform that action at this time.
0 commit comments