]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Expand SamplePlugin to show other best practices
authorEvan Prodromou <evan@status.net>
Sun, 3 Jan 2010 21:02:36 +0000 (11:02 -1000)
committerEvan Prodromou <evan@status.net>
Sun, 3 Jan 2010 21:02:36 +0000 (11:02 -1000)
commit1348c6e81995d9cae5ad4a4803723750ecb462c2
tree38eebe50fe9c3a71294edee7bccea105a8bd3a6d
parentec380887f71a1eadc75bad0289f9a0dbee7f2913
Expand SamplePlugin to show other best practices

I modified the SamplePlugin to show how to do some real processing,
adding a data class and an action class and modifying the main
menu to link to the new action. I added documentation comments to
all the methods and made sure the modules were PHPCS-clean.
plugins/Sample/User_greeting_count.php [new file with mode: 0644]
plugins/Sample/hello.php [new file with mode: 0644]