18 Commits

Author SHA1 Message Date
joyqi
878b2b3d11 init plugin signal 2023-12-29 18:03:45 +08:00
joyqi
4c8c64c79e Feat/code refactor (#1626)
* remove all magic methods, add type for class properties

* refactor codes

* fix all

* refactor code

* fix type

* fix all

* fix request is method

* fix all

* fix router

* fix get page
2023-09-24 16:21:32 +08:00
joyqi
fc9aaf66f3 Use TypechoPlugin\ for plugin namespace 2021-09-16 17:53:59 +08:00
joyqi
bf2cb07e4b fix #1160 2021-09-09 18:20:30 +08:00
joyqi
729dcf729a fix #1160 2021-09-09 17:45:15 +08:00
joyqi
403f96fdc0 Change plugin version dependence keyword form dependence to since 2021-09-02 15:30:26 +08:00
joyqi
ecd21c2557 fix plugin name 2021-09-01 22:52:02 +08:00
joyqi
50dea3fc24 fix plugin namespace 2021-09-01 18:45:59 +08:00
joyqi
539ef5e111 still working on it 2021-08-27 18:06:57 +08:00
joyqi
0e4391006c Still working on namespace 2021-08-21 21:22:43 +08:00
joyqi
44aef6c707 reformat code 2021-08-18 18:41:39 +08:00
mrasong
93a4bbdc20 bug fixed: Typecho_Plugin::exists() 2018-03-24 01:37:07 +08:00
joyqi
42495b36a3 fix plugin version check 2017-12-14 11:37:15 +08:00
zhoucheng
d10701f743 update phpdoc in Plugin 2015-12-23 17:57:11 +08:00
joyqi
ac14a68937 修正一些注释 2014-02-27 11:46:33 +08:00
joyqi
1859e92e86 fix #152
增加了插件优先级定义的支持,多个插件之间可以自行约定执行顺序,范例

Typecho_Plugin::factory('admin/menu.php')->navBar_1000 = array('HelloWorld_Plugin', 'render');

这个插件的执行优先级就是1000,默认的执行顺序是10,越大的数字越靠后执行
2014-01-09 00:56:51 +08:00
fen
60f1d87069 将“激活”修改为“启用” 2013-10-12 17:01:23 +08:00
joyqi
55379c90df 初始化
修改了上一个版本的一些错误,第一次提交
2013-07-17 13:13:57 +08:00